The built-in eclipse does not have cdt. So the Eclipse IDE for C/C ++ Developers (79 MB) http://www.eclipse.org/downloads/download.php? File =/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz.
Decompress the package to/home/name/bin/eclipse.
Download jre. Installation, put jre-version under the eclipse directory, and change it to jre.
Then execute
# Export GDK_NATIVE_WINDOWS = 1/* This is critical, otherwise the eclipse button may not work properly */
#/Home/name/eclipse
You can also add a quick key for convenience.
# Vi/usr/share/applications/eclipse. desktop
[Desktop Entry]
Encoding = UTF-8
Name = Eclise 3.5.1
Exec =/bin/bash-c "export GDK_NATIVE_WINDOWS = 1; '/home/name/bin/eclipse '"
Icon =/home/name/bin/eclipse/icon. xpm
Categories = Development; Java; IDE
Version = 1.0
StartupNotify = true
Type = Application
Terminal = 0
Help with development, and then install manpage
# Apt-Get install manpages-POSIX-Dev
Add more colors
# Apt-Get install most
# Vi/etc/manpath. config
Define pager most
OK.