1. Linux GnuPG

These installation instructions assume:

These are the Package(s) you must be sure to download:

GnuPG Homepage: http://www.gnupg.org/
Package to download: gnupg-1.0.1.tar.gz

You must decompress the tarball to compile, it is a good idea to make a list of files on the system before you install it, and one afterwards, and then compare them using diff to find out what file it placed where. Simply run find /* > GnuPG1 before and find /* > GnuPG2 after you install the tarball, and use diff GnuPG1 GnuPG2 > GnuPG-Installed to get a list of what changed. Decompress the tarball (tar.gz):

          [root@deep] /# cp gnupg-version.tar.gz /var/tmp
          [root@deep] /# cd /var/tmp
          [root@deep ]/tmp# tar xzpf gnupg-version.tar.gz

You need to Compile and Optimize, move into the new GnuPG dir and type the following on your terminal:

          CC="egcs" \
          CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
          ./configure \
          --prefix=/usr \

          [root@deep ]/gnupg-1.0.1# make
          [root@deep ]/gnupg-1.0.1# make check
          [root@deep ]/gnupg-1.0.1# make install
          [root@deep ]/gnupg-1.0.1# strip /usr/bin/gpg

The make command compiles all source files into executable binaries,
The make check will run any self-tests that come with the package
finally, the make install command installs the binaries and any supporting files into the appropriate locations.
The strip command will reduce the size of the gpg binary for better performance.

Cleanup after work

          [root@deep] /# cd /var/tmp
          [root@deep ]/tmp# rm -rf gnupg-version/ gnupg-version.tar.gz

The rm command as used above will remove all the source files we have used to compile and install GnuPG. It will also remove the GnuPG compressed archive from the /var/tmp directory.