Skip to content

2.1.02 Relocate RPM Install Path

lrrajesh edited this page Sep 14, 2016 · 1 revision

To install rpm and to relocate the binaries to a different folder add the --relocate switch. Run the following command as root.

shell$ rpm -ivh openrcm-<version>.rpm --relocate /opt/openrcm=<new location>

The following environment variables will need to be set to the new location:

export OPAL_PREFIX=<new_location>
export OPAL_LIBDIR=<new_location>/lib64
export OPAL_DATADIR=<new_location>/share
export LD_LIBRARY_PATH=<new_location>/lib64:$LD_LIBRARY_PATH
export PATH=<new_location>/bin:$PATH:

Clone this wiki locally