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

I recommend using GPG Suite on Mac OS X. It's MacGPG (a Mac-specific clone of GnuPG 2), as well as GPGMail (a plugin for Apple Mail), and other tools to manage your PGP keys in a Mac-native way.

Alternatively (or perhaps in addition) you can install GnuPG via Homebrew.