For older versions of Mac OS X, the procedure outlined here may work. 2.) Download the source code archive for GnuPG v1.4.20 here and the signature here. The signature is a text file that we will use to verify the source code archive. 3.) Decompress and extract the source code archive.
bzip2 -d gnupg-1.4.20.tar.bz2 tar -xvf gnupg-1.4.20.tar4.) From the source code directory, run the configure script to make sure your command line tools are installed.
cd gnupg-1.4.20 ./configure5.) Assuming there are no errors, from the same directory run make to compile gnupg. At this point, if everything went correctly, you should find the gpg executable in the g10 subfolder. 6.) If you wish to install GnuPG 1.4.20 as your default gpg:
sudo make installYou must uninstall other versions of gpg (including those installed by other software packages) before installing.]]>