I just installed Ubuntu 12.10, and I tried to install Eclipse and C++, but I failed miserably.
I started with an installation from the Software Center, Eclipse worked, but only in Java. Then I started googling for installation guides and tutorials, but after hours of downloads and installations, the C++ in Eclipse still doesn't work.
So now I have two questions:
How do I clean up this mess?
Actually, how do I know if there is a mess?
According to the Ubuntu Software Center, Eclipse is installed and has three add-ons.
How do I know if the other installations of other Eclipse versions/packagings overwrote each other or if I have multiple installations?
How do I install the latest version of Eclipse and C++ in Ubuntu 12.10?
You can either install it from the terminal or the software center in Ubuntu. Open the Software Center application in Ubuntu and search for Eclipse and install it from there.
the /usr/lib/eclipse directory.
Go to your Eclipse IDE > Help > Eclipse MarketPlace... Eclipse IDE requires Java JRE as a prerequisite. Navigate to the official Eclipse website and download the 64-bit Eclipse IDE for C/C++ Developers package. Extract the Eclipse package downloaded in the previous step.
However, we shall mention two easy methods you can follow to easily install Eclipse on Ubuntu or any other Linux distro. You can install the snap package available for Linux. You can either install it from the terminal or the software center in Ubuntu. Open the Software Center application in Ubuntu and search for Eclipse and install it from there.
Navigate to the official Eclipse website and download the 64-bit Eclipse IDE for C/C++ Developers package. Extract the Eclipse package downloaded in the previous step. Here we assume that the package has been downloaded into the Downloads directory.
Step 1: Create a new C++ Project. … Step 2: Write a Hello-world C++ Program. How do I download eclipse on Ubuntu? Step 1: Install Java JDK8. … Step 2: Download Eclipse Oxygen. … Step 3: Install Eclipse IDE. … Step 3: Create Eclipse App Launcher. … 24 Replies to “How to Install Eclipse Oxygen IDE on Ubuntu 16.04 | 17.10 | 18.04” 4 мар. 2018 г.
But the Linux graphical UI systems change fast and it is entirely possible that newer releases of Eclipse will not work on older distributions, and similarly older releases of Eclipse may not work on newer distributions. Where is Eclipse installed on Linux?
There is a package called eclipse-cdt
in the Ubuntu 12.10 repositories, this is what you want. If you haven't got g++
already, you need to install that as well, so all you need is:
sudo apt-get install eclipse eclipse-cdt g++
Whether you messed up your system with your previous installation attempts depends heavily on how you did it. If you did it the safe way for trying out new packages not from repositories (i.e., only installed in your home folder, no sudo
s blindly copied from installation manuals...) you're definitely fine. Otherwise, you may well have thousands of stray files all over your file system now. In that case, run all uninstall scripts you can find for the things you installed, then install using apt-get
and hope for the best.
I used (the suggested answer from above)
sudo apt-get install eclipse eclipse-cdt g++
but ONLY after then also doing
sudo eclipse -clean
Hope that also helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With