Eclipse is a well-known cross-platform, free integration environment, initially used to develop the Java language, and has been supported in other languages such as C + +, Python, and PHP as it develops. Generally speaking, embedded in the development of more than C language, so this article only describes the installation and configuration of Elipse/C + +.
1 Installation via Software Center
Eclipse is one of the software centers that Ubuntu offers to easily install a lot of software.
Applications-> Ubuntu Software Center-> Get free Software-> programming, find Eclipse, double-click the mouse, and follow the wizard installation.
2 manual Installation
Installation through the Software Center is simple, but many times in the installation will appear some problems. So this is recommended for manual installation.
-Ensure that the JAVA6 JDK is installed and can be viewed simply by $java-version, if the version is returned, then it is already installed.
-click http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/R/ eclipse-cpp-helios-linux-gtk.tar.gz, Manual download
-Save the downloaded file to/usr/share/and unzip the downloaded file: sudo tar zxvf eclipse-cpp-galileo-sr2-linux-gtk.tar.gz
-Add link to system environment, make command $ eclipse & Effective
$ cd/usr/bin
$ sudo ln-s. /share/eclipse/eclipse.
-Add link to applications-> programming
$ vi/usr/share/applications/eclipse.desktop
[Desktop Entry]
Encoding=utf-8
Name=eclipse
Comment=eclipse IDE
Exec=eclipse%f
icon=/usr/share/eclipse/icon.xpm
Terminal=false
Startupnotify=true
Type=application
Categories=application;development;
Now that your eclipse is installed, you can enter the programming world through $eclipse or applications/programming/eclipse.