HOW TO: Install PGP Command Line on Red Hat Enterprise or Fedora Core

Article:HOWTO42039  |  Created: 2009-02-20  |  Updated: 2014-03-14  |  Article URL http://www.symantec.com/docs/HOWTO42039
Article Type
How To

Product(s)


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.

 

Installing PGP Command Line on Red Hat Enterprise Linux or Fedora Core

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):

  1. If you have an existing version of PGP Command Line installed on the computer, uninstall it.
  2. Download the installer file called PGPCommandLine[version]Linux.tar to a known location on your system.
  3. Untar the package first. You will get the following file: PGPCommandLine[version]Linux.rpm
  4. Type: rpm -ivh PGPCommandLine[version]Linux.rpm
  5. Press Enter.
     

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.

  1. If you have an existing version of PGP Command Line installed on the computer, uninstall it.
  2. Download the installer file called PGPCommandLine[version]Linux.tar to a known location on your system.
  3. Untar the package first. You will get the following file: PGPCommandLine[version]Linux.rpm
  4. Type: rpm --prefix=/opt -ivh PGPCommandLine[version]Linux.rpm
  5. Press Enter.
     

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.



Legacy ID



1194


Article URL http://www.symantec.com/docs/HOWTO42039


Terms of use for this information are found in Legal Notices