next up previous contents
Next: Configuring PGP For Linux Up: Getting PGP for Linux Previous: Debian GNU/Linux   Contents


Any other Linux distribution

To use PGP on a version of Linux other than Red Hat or Debian - or to use PGP on an older version of one of those distributions - you will need to build PGP from source code.

Building PGP from source code requires a C compiler and other development tools. Every distribution of Linux comes with gcc (the GNU C compiler) and all the other tools you need; but you will have to make sure they are installed. We cannot explain how to do this for all of the different distributions of Linux. If you cannot figure out how to install the development tools with your version of Linux, then you should either call your vendor for technical support, or find someone in your neighborhood who can help you, possibly at a local Linux users' group.

Once you have installed the development tools, the next step is to download the PGP source code. You can choose any of the mirror sites on the PGPi Unix source code download page, or if that does not work, then try the PGPi download wizard.

When the download has finished you should have a file named ''pgp50i-unix-src.tar.gz''. If a newer version has become available since this writing, you may have a different file name. This is a compressed archive containing all of the source code. You can extract it with this command (substituting the actual file name if necessary):

  tar xzf pgp50i-unix-src.tar.gz
This should create a directory named pgp50i with the source code in it. Change to this directory:
  cd pgp50i
Now, to compile PGP, use these commands:
  ./configure
  make
If you are using gcc version 2.95, you may run into an error message. I have a simple patch for PGP 5.0i with gcc 2.95 which worked for me, but I do not guarantee that it will work for everyone; use it at your own risk (or switch to GNU Privacy Guard).

After building PGP, you can install it by running this command as the root user:

  make install

next up previous contents
Next: Configuring PGP For Linux Up: Getting PGP for Linux Previous: Debian GNU/Linux   Contents
Greg Wooledge 2000-10-11