Manual eclipse Install on Ubuntu


Create a directory for eclipse.

~ $ mkdir  ~/opt

Download eclipse from http://www.eclipse.org/downloads/.

Open terminal and cd to the download directory.  Extract files, and move them to ~/opt directory.

~ $ tar -zxvf eclipse-java-indigo-SR1-linux-gtk-x86_64.tar.gz && mv eclipse ~/opt

Create an entry in /usr/bin to launch eclipse.

~ $ sudo nano /usr/bin/eclipse 

Copy following lines, save and close the file.

export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="$HOME/opt/eclipse"

$ECLIPSE_HOME/eclipse $*

Make it executable

sudo chmod +x /usr/bin/eclipse

Type eclipse in terminal to run it.

~ $ eclipse

Create an launcher on desktop:

~ $ nano ~/Desktop/eclipse.desktop

Copy following lines.

#!/usr/bin/env xdg-open

[Desktop Entry]
 Version=1.0
 Type=Application
 Terminal=false
 Icon[en_US]=eclipse
 Name[en_US]=eclipse
 Exec=eclipse
 Name=eclipse
 Icon=eclipse

Save and close.

3 comments

  1. AMit says:

    Thanks for this simple tutorial.. It worked fine however when I try to update the eclipse it says “Insufficient privileges to install this update”… Do I need to set any other permission as well.. or every time I need to start it using “sudo eclipse”

    • purvag says:

      I guess you need to change folder permissions on plugin folders. You can also try manually installing eclipse that way you dont have folder permission issues.

Leave a Reply