You can relocate the
tealeaf-pca package to a directory other than the
/usr/local/ctccap directory by using the rpm command's
--prefix option along with the installation and upgrade commands.
This approach requires a minimum
tpcinstaller.sh date and version: 2007/07/05,
Following are some sample rpm invocations:
rpm -i --prefix=/opt/tealeaf tealeaf-pca-3204-1.RHEL4.i386.rpm rpm -U --prefix=/home/tealeaf tealeaf-pca-3204-1.RHEL4.i386.rpm
If you do not use the
--prefix option during an installation or upgrade, RPM
uses the default installation directory that is specified in the tealeaf-pca package file, which is
/usr/local/ctccap. When you relocate a package, you must consistently specify the
alternate directory so that the package correctly checks for and updates previous installations.
If you are using the installer script,
tpcinstaller.sh, you can specify
TPCINSTALLPREFIX before you start the script to install the
If you do not specify the environment variable
TPCINSTALLPREFIX before you start
the script, it determines the current installation prefix and automatically pass it along to the RPM
commands it runs. If the package is not currently installed or is not a relocatable version, the
/usr/local/ctccap, is used by the tealeaf-pca package.
Following is a sample invocation of the
env TPCINSTALLPREFIX=/opt/tealeaf /etc/opt/tpcinstaller.sh \ tealeaf-pca-3204-1.RHEL3-i386.rpm