The packaged version of Eclipse 3.8 does not work anymore on Ubuntu 18.04, thus a manual install of a newer version is required. Requirements: C++, Python, Git, SVN. I prefer the GTK2 version here as it is much more responsive than the current GTK3 version (Eclipse IDE 2019-09 R).
Basic Installation
- Install a JDK: sudo aptitude install default-jdk
- Install basic C++ development tooling: sudo aptitude install gcc g++ make
- Install GTK2 libraries: sudo aptitude install libgtk2.0-0
- Get one of the last GTK2 versions of “Eclipse IDE for C/C++ Developers”
- Eclipse IDE Photon R (4.8)
- Eclipse IDE 2018-09 R (4.9)
- Extract to /usr/local: sudo tar -C /usr/local/ -xf eclipse-cpp-2018-09-linux-gtk-x86_64.tar.gz
- Link executable to a known search path: sudo ln -s /usr/local/eclipse/eclipse /usr/local/bin/eclipse
- Set default GTK version via eclipse.ini by adding the following lines before the “appendVmargs” section (otherwise GTK3 will be used by default if libgtk3 is installed):
--launcher.GTK_version 2
- Install libwebkitgtk to display markdown documents correctly:
aptitude -R install libwebkitgtk-1.0-0
Python
- Install python interpreter: sudo aptitude install python python3
- Install PyDev plugin: sudo unzip -d /usr/local/eclipse/dropins/pydev-7.4.0 “PyDev 7.4.0.zip”
- For XML processing install lxml: sudo aptitude install python-lxml python3-lxml
Git + SVN
- Install versioning tools and required libraries: sudo aptitude install subversion git
- Install EGIT and Subclipse plugins (4.2.4 is the last with SVN 1.9 support):
- sudo unzip -d /usr/local/eclipse/dropins/egit-5.5.1 org.eclipse.egit.repository-5.5.1.201910021850-r.zip
- sudo rm -v /usr/local/eclipse/dropins/egit-5.5.1/*.*
- sudo unzip -d /usr/local/eclipse/dropins/subclipse-4.2.4 subclipse-4.2.4.zip
- sudo rm -v /usr/local/eclipse/dropins/subclipse-4.2.4/*.*
- sudo aptitude install libsvnkit-java
- set GIT_SSH to local ssh binary to make it use the authentication agent in .basrc: export GIT_SSH=/usr/bin/ssh
Shell scripts
Install the dynamic languages toolkit (dltk) 5.10 for shell syntax highlighting: sudo unzip -d /usr/local/eclipse/dropins/dltk-R-5.10 dltk-R-5.10-201808292040.zip
Eclipse 4.13 + GTK3
Install GTK3 libs (sudo aptitude install libgtk-3-0), rest as above.
Eclipse 4.17 (2020-09-R)
Tested on Ubuntu 20.04: with PyDev 8.0.1 & Subclipse 4.3.2
- Sublipse does not seem to pickup any SVN interface
- No separate EGIT installation required anymore
- dltk releases 6.* do not contain ShellEd anymore, but re-using release 5.10 seems to work as well