Unix and Linux
| Chapter 2. Installation |

## Unix and Linux

### From Source

gtkmm and its dependencies can be built and installed with the following sequence of commands:

    # ./configure
    # make
    # make install

On some systems you will need to install to a different location. For instance, on Red Hat Linux systems you might use the `--prefix` option with configure, like so:

    # ./configure --prefix=/usr

The configure script will warn you if you have not installed any of the other packages that it needs.

### Prebuilt Packages

Recent versions of gtkmm are packaged by nearly every major Linux distribution these days. If you use Linux, chances are that you can get started with gtkmm by installing the package from the official repository for your distribution. Distributions that include gtkmm in their repositories include Debian, Ubuntu, Red Hat Fedora, Mandriva, Suse, and many others.

The names of the gtkmm packages vary from distribution to distribution (e.g. libgtkmm2.4-dev on Debian and Ubuntu or gtkmm24-devel on Red Hat Fedora), so check with your distribution's package management program for the correct package name and install it like you would any other package.

Chapter 2. Installation |  | Microsoft Windows