Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install Eclipse with C++ in Ubuntu 12.10 (Quantal Quetzal)?

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:

  1. 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?

  2. How do I install the latest version of Eclipse and C++ in Ubuntu 12.10?

like image 238
stenci Avatar asked Feb 06 '13 04:02

stenci


People also ask

How do I install Eclipse on Ubuntu?

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.

Where does eclipse get installed in Ubuntu?

the /usr/lib/eclipse directory.

How do I download Eclipse for C++ in Ubuntu?

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.

How to install Eclipse on Ubuntu?

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.

How to download and install Eclipse for C/C++?

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.

How do I start a C++ project on Ubuntu?

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 г.

Does eclipse work on Linux?

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?


Video Answer


2 Answers

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 sudos 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.

like image 175
us2012 Avatar answered Sep 21 '22 18:09

us2012


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.

like image 41
Eric Avatar answered Sep 19 '22 18:09

Eric