#### Install Eclipse on ubuntu ###### Go to [Eclipse](https://www.eclipse.org/downloads/packages/ "https://www.eclipse.org/downloads/packages/") and download Download [Eclipse C++](http://eclipse.mirror.rafal.ca/technology/epp/downloads/release/oxygen/3a/eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz "http://eclipse.mirror.rafal.ca/technology/epp/downloads/release/oxygen/3a/eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz") IDE and Eclipse for [Java SE](http://mirror.csclub.uwaterloo.ca/eclipse/technology/epp/downloads/release/oxygen/3a/eclipse-java-oxygen-3a-linux-gtk-x86_64.tar.gz "http://mirror.csclub.uwaterloo.ca/eclipse/technology/epp/downloads/release/oxygen/3a/eclipse-java-oxygen-3a-linux-gtk-x86_64.tar.gz") ###### Go to Downloads directory and list floders there `cd Downloads/ && ls` ###### We should find the two packages downloaded as ``` eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz eclipse-java-oxygen-3a-linux-gtk-x86_64.tar.gz ``` ###### Now extract eclipse-cpp package and rename it to `eclipse-cpp-oxygen-3a` instead of just `eclipse` `tar -xvzf eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz` and rename it, `mv eclipse eclipse-cpp-oxygen-3a` ###### The same for eclipse-java package extract it and rename to `eclipse-java-oxygen-3a` instead of just `eclipse` `tar -xvzf eclipse-java-oxygen-3a-linux-gtk-x86_64.tar.gz` and rename it, `mv eclipse eclipse-java-oxygen-3a` ###### Now copy the extracted packages to `/usr/local/applications` `sudo mv eclipse-cpp-oxygen-3a /usr/local/bin/eclipse-cpp-oxygen-3a` `sudo mv eclipse-java-oxygen-3a /usr/local/bin/eclipse-java-oxygen-3a` #### Make icon launcher for Eclipse ###### To make a desktop icon launcher go to on `usr/share/applications` ###### Create the file using `sudo touch usr/share/applications/eclipse-cpp.desktop` and edit it using nano `sudo nano /usr/share/applications/eclipse-cpp.desktop` Paste these edits and save the file ``` [Desktop Entry] Encoding=UTF-8 Type=Application Name=Eclipse-C++ Icon=/usr/local/bin/eclipse-cpp-oxygen-3a/icon.xpm Exec="/usr/local/bin/eclipse-cpp-oxygen-3a/eclipse" Comment=Eclipse for c++ Categories=Development; Terminal=false StartupNotify=true ``` We should see `eclipse-c++` icon launcher now ###### The same for `Eclipse-java` create `.desktop` file and edit it using `nano` `sudo nano /usr/share/applications/eclipse-java.desktop` ``` [Desktop Entry] Encoding=UTF-8 Type=Application Name=Eclipse-Java SE Icon=/usr/local/bin/eclipse-java-oxygen-3a/icon.xpm Exec="/usr/local/bin/eclipse-java-oxygen-3a/eclipse" Comment=Eclipse for Java Categories=Development; Terminal=false StartupNotify=true ```