Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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:

g++ 

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

libgtkmm-3.0-dev
libgstreamermm-0.10-dev
libgdamm4.0-dev 

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

libgtkmm-3.0-doc
libgstreamermm-0.10-doc
libgdamm4.0-doc
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

 
discard

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.