This article details how to install PGP Command Line on Red Hat Enterprise Linux or Fedora Core systems.
Note: Fedora Core is supported using PGP Command Line 9.9.0 - 10.1.0 versions only.
You need to have root or administrator privileges on the machine on which you are installing PGP Command Line. Linux installations now default to /opt/pgp, which matches the default installation location on other UNIX platforms. To install PGP Command Line on Linux to the previous installation location (/usr/bin/), use the "--prefix=/usr" option.
If you have an existing Linux installation of PGP Command Line and do not install the new version using the "--prefix=/usr" option, you will need to update your path to include /opt/pgp/bin and you will need to update any scripts accordingly.
Caution: If you want to use the XML key list functionality in PGP Command Line, you need to upgrade libxml2 to Version 2.6.8; the default is Version 2.5.10. If you attempt to use the XML key list functionality without upgrading, you will receive an error.
To install PGP Command Line on a Linux system (default directory):
Note: The PGP Command Line application, pgp, is installed by default into /opt/pgp/.
To install PGP Command Line into a different directory:
By adding the option --prefix to the rpm command, you can install PGP Command Line in a location other than the default.
This command will install the application binary in the directory /opt/bin/pgp, libraries in /opt/lib, etc. You will need to edit the environment variable LD_LIBRARY_PATH to include the new library path for the software to function in any location other than the default.