Wednesday, May 19, 2010

Installation of Eclipse

Some information about Eclipse:

Dave wants to use Eclipse Galileo, which can be downloaded from here.
Once you download the file, extract it with the Unix command

tar xzf [DIRECTORY]/eclipse-cpp-galileo-SR2-linux-gtk-x86_64.tar.gz

where [DIRECTORY] should be replaced with the directory that the download was saved in. At this point, I moved the extracted directory (should be, by default, named "eclipse") to /usr/local by using the command

mv eclipse /usr/local/eclipse3.5

in the directory where the extracted directory is stored. Notice that this command also renames the moved folder to "eclipse3.5".

Finally, to allow eclipse to be run at the command line, I went to the /usr/local/bin directory, and performed

ln -s /usr/local/eclipse3.5/eclipse eclipse

which creates an alias in the bin directory.


If you run into permission problems, put a sudo in front of the command you are typing.

In order to install Java and Pydev, I just added them under Help->Install New Software and choosing "All Available Sites" under "Work with:". They can be found by scrolling down the list generated after changing "Work with:".


To distribute the eclipse configurations across all of the machines, I used rsync to copy the eclipse folder to the same place on each machine, and then I created an alias to the program in /usr/local/bin so that eclipse may be run from the command line.

No comments:

Post a Comment