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 36 times
0
-
Can you expand your question, please. What exactly you want to be taken? Executables not need to be installed, they only need their environment to be executed properly. – c0rp Jan 20 '14 at 09:32
-
take an example Eclipse.I have it in my pc but i want to install the software in my lap how can i done it – Boopathi Jan 20 '14 at 09:37
-
You can just download it from official site, and export your settings and projects, if you worried about them. Or I do not understand you? Why do you want to take it? – c0rp Jan 20 '14 at 09:44
-
i have no net connection – Boopathi Jan 20 '14 at 09:51
-
What operation system is installed on both computers? – c0rp Jan 20 '14 at 09:54
-
same ubuntu 13.04 – Boopathi Jan 20 '14 at 10:02
-
Generally eclipse is portable, that means that it can be just copied to another computer with the same OS, because binaries usually OS specific. I expand my answer – c0rp Jan 20 '14 at 10:03
-
1this should help: How can I install software or packages without Internet (offline)? – rusty Jan 20 '14 at 10:27
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