Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is the gtkmm package already installed by default? If not how do I install it on Ubuntu 11.10 with all the prerequisites? I do not see any reference to the packages described in the gtkmm tutorial in the Ubuntu Software Center. Would a command line install be better? Do I need to add a repository?

share|improve this question

No, the packages you need are not installed by default but are available in the normal Ubuntu repositories. You can use software-center or sudo apt-get install.

Be sure to have the C++-Compiler installed:


For C++ programming you need to install the development version of the important GNOME libraries. Those contain the header files and additional linker information:


In addition, you will want to install the documentation packages of this libraries so you can view them in the API browser (devhelp):


-- Source

I recommend you also install gnome-devel-docs to look at some demos. After installing, run

yelp ghelp:gnome-devel-demos
share|improve this answer

Ubuntu 11.10 comes with libgtkmm-2.4-1c2a and libgtkmm-3.0-1

libgtkmm-3.0-1 is installed by default

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.