Skip to content

Instantly share code, notes, and snippets.

@pasrom
Last active May 2, 2018 06:51
Show Gist options
  • Save pasrom/4574174bb2279988a762c54a77207e67 to your computer and use it in GitHub Desktop.
Save pasrom/4574174bb2279988a762c54a77207e67 to your computer and use it in GitHub Desktop.
Install Eclipse
  1. install java
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install -y oracle-java8-installer
sudo apt install -y oracle-java8-set-default
javac -version
  1. get the latest eclipse
wget https://mirrors.dotsrc.org/eclipse//oomph/epp/oxygen/R2/eclipse-inst-linux64.tar.gz -P ~/workspace
tar xfz ~/workspace/eclipse-inst-linux64.tar.gz -C ~/workspace

run the installer

~/workspace/eclipse-installer/eclipse-inst

now following the installer

  1. last but not least create a icon
sudo nano /usr/share/applications/eclipse.desktop

insert following text in this file

[Desktop Entry]
Name=Eclipse CPP Oxygen
Type=Application
Exec=/home/roman/eclipse/cpp-oxygen/eclipse/eclipse
Terminal=false
Icon=/home/roman/eclipse/cpp-oxygen/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment