How to take the executable file of the particular software and install in other system like we tacking back up in android applications
Asked
Active
Viewed 37 times
1 Answers
0
This answer helps if you only need to move eclipse to another computer, with same OS, which is Ubuntu
There is a better generous solution in comments, given by user hash.
First of all you should find where exactly you eclipse installation folder is. Usually it is /usr/lib/eclipse. You can put it in tar sudo tar -pcvzf eclipse.tar.gz /usr/lib/eclipse, and copy to your another computer.
Then do this line by line on computer where you want to copy:
cd /usr/lib
sudo mkdir eclipse && cd eclipse
sudo tar -pxvzf /path_to_tar/eclipse.tar.gz
Then you should create symlink in /usr/local/bin/ to execute eclipse.
Create a file named eclipse in /usr/local/bin/, fill it with this:
#!/bin/sh
ECLIPSE=/usr/lib/eclipse/eclipse
if [ ! -d ~/.eclipse/ ] ; then
$ECLIPSE -clean -initialize || exit $?
fi
exec $ECLIPSE "$@"
Give execute permission to this file:
chmod +x /usr/local/bin/eclipse
Now you should be able to run eclipse from terminal using eclipse command:
eclipse