These installation instructions assume:
Commands are Unix-compatible.
The source path is /var/tmp -other paths are possible.
Installations were tested on Red Hat Linux 6.1 and 6.2.
All steps in the installation will happen in super-user account root.
GnuPG version number is 1.0.1
These are the Package(s) you must be sure to download:
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):
You need to Compile and Optimize, move into the new GnuPG dir and type the following on your terminal:
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
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
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