Introduction to GMime

The GMime package contains a set of utilities for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME) as defined by the applicable RFCs. See the GMime web site for the RFCs resourced. This is useful as it provides an API which adheres to the MIME specification as closely as possible while also providing programmers with an extremely easy to use interface to the API functions.

Package Information

GMime Dependencies




Gtk# (requires a .NET framework: Mono or DotGNU Portable.NET)

User Notes:

Installation of GMime

Install GMime by running the following commands:

./configure --prefix=/usr &&

This package does not come with a test suite that provides meaningful results.

This package will overwrite the uudecode and uuencode programs installed by the sharutils package (or any other package that may install these programs) if they exist in /usr/bin. If you wish to preserve the existing programs, ensure you rename them before issuing the following commands.

Now, as the root user:

make install &&
install -v -m755 -d \
    /usr/share/doc/gmime-2.2.2/{tutorial,examples,tests} &&
install -v -m644 README /usr/share/doc/gmime-2.2.2 &&
install -v -m644 examples/{README,{basic,imap}-example.c} \
    /usr/share/doc/gmime-2.2.2/examples &&
install -v -m755 examples/{basic,imap}-example \
    /usr/share/doc/gmime-2.2.2/examples &&
install -v -m644 tests/test-{best,html,iconv,mbox,mime,parser}.c \
                 tests/test{-{partial,pgp{,mime},streams}.c,?.eml} \
    /usr/share/doc/gmime-2.2.2/tests &&
install -v -m755 tests/test-{best,html,iconv,mbox,mime,parser} \
                 tests/test-{partial,pgp{,mime},streams} \
    /usr/share/doc/gmime-2.2.2/tests &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gmime-2.2.2/tutorial


Installed Programs: gmime-config, uudecode and uuencode
Installed Libraries: libgmime-2.0.{so,a} and optionally, Mono bindings
Installed Directories: /usr/include/gmime-2.0, /usr/lib/mono/gac/gmime-sharp, /usr/lib/mono/gmime-sharp, /usr/share/doc/gmime-2.2.2 and /usr/share/gtk-doc/html/gmime

Short Descriptions


is used to gather information about how and where GMime was installed. It is typically used by other programs seeking to link to the GMime library.


is used to decode files or data encoded with uuencode.


is a method of encoding binary data into 7-bit ASCII data.


contains API functions used by programs that need to adhere to the MIME standards.

Last updated on 2007-01-18 13:38:19 -0600