Installing eclipse in ubuntu 12.04
Step 1. Before installing eclipse you need to install java , you can either install JRE or JDK .
icttricks@ubuntu:~$ sudo apt-get install openjdk-7-jre
or
If you are going to use eclipse for java development, then you can install JDK
marcelo@ubuntu:~$ sudo apt-get install openjdk-7-jdk
Step 2. Download the latest eclipse package from here http://www.eclipse.org/downloads/?osType=linux
Step 3. move the package to the /opt directory
marcelo@ubuntu:~$ sudo mv eclipse-SDK-4.2.2-linux-gtk.tar.gz /opt/
Step 4. Unzip the package by typing the below command
marcelo@ubuntu:~$ cd /opt
marcelo@ubuntu /opt:~$ sudo tar -xvf eclipse-SDK-4.2.2-linux-gtk.tar.gz
Step 5. Create a new desktop file eclipse.desktop in /usr/share/applications/ and add the below lines .
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
That's it, you have successfully installed eclipse in your Ubuntu. If you have problem regarding to this post feel free to comment here.
0 comments:
Post a Comment