Eclipse is a software development platform including front ends for typically Java development software tools, however a C/C++ front end can also be optionally installed and is called CDT. The installation of CDT is further discussed below.
Use eselect repository from app-eselect/eselect-repository to add the eclipse ebuild repository:
eselect repository enable eclipse
emerge --sync eclipse
If needed, see article on regenerating the Eix cache, for those using Eix.
Install the Eclipse SDK:
emerge --ask dev-util/eclipse-sdk-bin
The package is slotted for major Eclipse releases, to be able to have multiple versions installed at the same time.
To run it, simply type the following replacing with the version number installed:
In a desktop environment, the different versions should show up automatically in the list of installed applications.
CDT adds C/C++ tools to Eclipse SDK.
Need to first find the latest code name for the latest release of CDT. Go to the following page and take note of the latest code named release. (ie. kepler, indigo, juno, ...)
Install Update Repository
Go to "Help > Install New Software" and add the following repository after clicking add, and after finding and replacing "kepler" with the latest code named repository.
- Kepler Updates
This general repository is needed prior trying to add the CDT repository, as the CDT repository depends on other packages outside of the CDT repository and which were not installed by default.
Install CDT Repository
Go to "Help > Install New Software" and click 'add', adding the following after also replacing the code name with the latest code named repository.
- CDT 8.2.1 for Eclipse Kepler
Once this repository is entered, go ahead and select it and select all or some of the packages and click next. Eclipse may need to restart afterwards.
"bundle org.eclipse.rse.ui ... could not be found" or "missing remote debug launcher"
Install the general Update Software repository mentioned above prior to installing CDT in order to satisfy these dependencies. Eclipse SDK should then automatically pull them in.
Random crashes happening in native code (C [libgobject-2.0.so.0+0x1b0b8] g_object_get_qdata+0x18)
See also bug #430432.
Workaround: Set the gtk+-2 theme to default. This can be limited to eclipse-sdk:
PyCharm Community Edition - A free and open source IDE for Python.