There are numerous articles on the Internet where the mechanism to be followed to install Eclipse Juno in Ubuntu is well explained. This article is a reminder to myself on the commands that were used to install Eclipse Juno in my Ubuntu 12.04 machine.
# Download the Eclipse Juno package from http://www.eclipse.org/downloads/. # I usually prefer the 'Eclipse Classic' package out of habit but feel free to grab the one that fits # your requirement. # As an example, let me download the 64-bit Ubuntu tar.gz image. root@labs:~$ cd ~/Downloads root@labs:~$ wget http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz # Untar the package. Example: root@labs:~$ tar -zxvf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz # The net result would be a folder named "eclipse". Lets copy it to /opt. root@labs:~$ sudo mv "eclipse" /opt # Lets add a link to the executable - "/opt/eclipse/eclipse" in /usr/bin for easier access. root@labs:~$ ln -s "/opt/eclipse/eclipse" /usr/bin/eclipse # Lets create a icon in the Unity Dashboard for convenience. # Reference: https://ksearch.wordpress.com/2012/10/25/how-do-i-install-sublime-text-2-in-ubuntu-12-04/ # Fire up a text editor. I am using vim here. But, any text editor would do. root@labs:~$ sudo vim /usr/share/applications/eclipse.desktop # Add the below content to /usr/share/applications/eclipse.desktop and save it. [Desktop Entry] Version=1.0 Name=Eclipse Exec=eclipse Terminal=false Icon=/opt/eclipse/icon.xpm Type=Application Categories=IDE;Development X-Ayatana-Desktop-Shortcuts=NewWindow [NewWindow Shortcut Group] Name=New Window Exec=eclipse TargetEnvironment=Unity # All done.
- Borrowed the idea from: https://ksearch.wordpress.com/2012/10/25/how-do-i-install-sublime-text-2-in-ubuntu-12-04/