Pages

Tuesday, December 14, 2010

Installing Eclipse with C++ in Ubuntu

use synaptics to install eclipse

sudo su
apt-get update
apt-get upgrade
apt-get install g++
apt-get install eclipse

then follow these steps to install c++ support
If you want to add CDT (and other components) to the version of Eclipse in Ubuntu 10.04, ( which is Galileo )...

- select the "Install New Software" option of the help menu.
- click the "Add" button next to the "Work with" drop-down
- Put "Galileo" into the "Name" field - see below
- Put the Galileo release URL = "http://download.eclipse.org/releases/galileo" into the "Location" field
- Press the "OK" button to add this repository location
- Select "Galileo ... " in the "Work with" field
- Press the twisty to the left of the "Programming Languages" category
- Tick the "Eclipse C/C++ Development Tools" check-box ( should be Version 6.0.0 )
- Press the "Next" button and then "Finish" Button to install.

Galileo release URL: The Eclipse framework is released annually as a collected
and tested repository. Each release has a different name relating to celestial objects, so far moons of planets in the solar system. You should use the repository URL for the release you are using. The name is made up of "download.eclipse.org" and "/releases/galileo" in this case, but would obviously change if you used a different version of eclipse.