Compiling C and C++ programs requires some packages that are not installed by default.
-
Install the build-essential package (see Add Applications).
There are many tools available for C and C++ developers. Those wishing to develop graphical applications will find that choosing a graphical toolkit/platform will make development more convenient. The two most popular development platforms for Ubuntu are “GTK/GNOME� and “Qt/KDE�, each of which has its own set of tools and documentation.
Anjuta is an IDE for developing applications in C and C++ for the “GNOME� platform.
-
Install the anjuta package from the “Universe� repository (see Add Applications).
-
Press Alt+F2, type “anjuta� and press to start using Anjuta.
KDevelop is an IDE for developing applications in C and C++ for the “KDE� platform.
-
Install the kdevelop package from the “Universe� repository (see Add Applications).
-
Press → → to start using KDevelop.

