Tag Archives: security

Installing GnuPG 2 on OSX

Installing GnuPG onto OSX. If you are using Enigmail to provide your mail client (such as Thunderbird) with PGP signing, etc., this should help you out.

Get latest version of GnuPG

The latest version of GnuPG is 2.1.6. I located that here:
ftp://ftp.gnupg.org/gcrypt/gnupg/
I like to use curl to grab the package. Unpack the directory. You can try to build it right away, but most likely there will be additional libraries that need to be installed first (keep reading..)

curl -O ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.1.6.tar.bz2

To build this, you will need the latest versions of the following modules also installed, before you can start to build out the GnuPG.

Getting the required per-requesites

ibgpg-error

I like to use curl to download the package. Download the package, unpack, configure and build:

curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.19.tar.gz

tar xvzf libgpg-error-1.9.tar.gz
cd libgpg-error-1.19
./configure
make -j3
make install
ld

libgcrypt

I like to use curl to download the package. Download the package, unpack, configure and build:

curl -O ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.3.tar.gz

tar xvzf libgcrypt-1.6.3.tar.gz
cd libgcrypt-1.6.3
./configure
make -j3
make install
ld

libassuan

I like to use curl to download the package. Download the package, unpack, configure and build:

curl -O ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-2.2.1.tar.bz2

tar xvzf libassuan-2.2.1.tar.bz2
cd libassuan-2.2.1
./configure
make -j3
make install
ld

libksba

I like to use curl to download the package. Download the package, unpack, configure and build:

curl -O ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.3.tar.bz2

tar xvzf libksba-1.3.3.tar.bz2
cd libksba-1.3.3
./configure
make -j3
make install
ld

nPth

I like to use curl to download the package. Download the package, unpack, configure and build:

curl -O ftp://ftp.gnupg.org/gcrypt/npth/npth-1.2.tar.bz2

tar xvzf npth-1.2.tar.bz2
cd npth-1.2
./configure
make -j3
make install
ld

Build GnuPG

Unpack, configure and build:

tar xvzf gnupg-2.1.6.tar.bz2
cd gnupg-2.1.6
./configure
make -j3
make install
ld

If all goes well, you’ll be using GnuPHP 2.x! ENJOY!