Chapter 2. Installation

Table of Contents

Prebuilt Packages

The maemomm packages are available from the extras-devel repository, as are glibmm and gtkmm. To use the extras-devel repository, you must add this line to your /etc/apt/sources.list in your Scratchbox environment, or on your actual device. Note that this example is for the Maemo 5.0 "fremantle" version. Do not add this line to your sources.list on your normal desktop environment.

deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb-src http://repository.maemo.org/extras-devel/ fremantle free non-free

For older versions of the Maemo platform, you must change the "fremantle" to something appropriate.

Once you have added these lines to your /etc/apt/sources.list file, type the following commands into a terminal, to install the maemomm packages:

fakeroot apt-get update
fakeroot apt-get install libhildonmm-dev libhildon-fmmm-dev libhildonnotifymm-dev

You might choose to install additional packages such as maemomm-booster, libgconfmm-2.6-dev, or libhildonnotifymm-dev if your application requires them.

The complete maemomm environment can be installed in the Maemo SDK by typing the following command into a terminal, to install a metapackage:

  fakeroot apt-get install maemo-cplusplus-env

The corresponding command for usage on the device is:

  fakeroot apt-get install maemo-cplusplus-device-env