Installation

Table of Contents

UNIX/Linux

Presumably, if you use unix, you already know how to install packages. I will cover a from-source installation, but I won't cover the package management infrastructures for the various linux/unices. For that, suffice to say that some examples include "apt-get install gpg", "yum install gpg", "urpmi gpg", "up2date gpg", or "pkg-get install gpg". That said, a source installation would look like this:


  $ wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.2.tar.bz2
  $ tar jxf gnupg-1.4.2.tar.bz2
  $ cd gnupg-1.4.2
  $ ./configure
  $ make
  $ sudo make install

That'll install into /usr/local, you can change that by passing --prefix=/some/path to the configure script.

Windows

The Windows installation has become significantly easier in the recent past. There is now a relatively intelligent installer that will do most of the work for you. This procedure is based on the documentation for Enigmail.

Note that if you have a previous installation of GnuPG that was done prior to the new installation, you should follow Enigmail's instructions for removing old GnuPG versions before proceeding.

Mac OS X

There is a Mac OS X package for GnuPG with a full Mac installer. It's about as easy as it gets. You can get it here.

There is also an excellent doc on installing and configuring the software here.