Under Construction
Linux: Installing the RPM Package
Installing the RPM version on Linux requires root privileges.
We assume that the RPM version has been downloaded from our website to the target system and placed in the current directory.
Verify that the RPM version is in the current directory on the target system.
$ ls -l pwrcmps-lpar-rte-1.7.0-0.x86_64.rpm.gz
-rw-r--r--. 1 armin user 2825018 Jan 26 20:24 pwrcmps-lpar-rte-1.7.0-0.x86_64.rpm.gz
$
Note: The version number may be different. Version 1.7.0.0 was current as of January 26, 2022.
Unzip the downloaded file with gunzip:
$ gunzip pwrcmps-lpar-rte-1.7.0-0.x86_64.rpm.gz
$ ls -l pwrcmps-lpar-rte-1.7.0-0.x86_64.rpm
-rw-r--r--. 1 armin user 2826516 Jan 26 20:24 pwrcmps-lpar-rte-1.7.0-0.x86_64.rpm
$
The RPM file can then be installed using the command “rpm -U“. If an older version of the LPAR tool is already installed, an update is performed:
# rpm -U pwrcmps-lpar-rte-1.7.0-0.x86_64.rpm
#
Note: Installing an RPM package requires root privileges. In many environments, the sudo command is used.
Installing the RPM package installed the following files:
$ rpm -ql pwrcmps-lpar-rte
/opt/pwrcmps/bin
/opt/pwrcmps/bin/hmc
/opt/pwrcmps/bin/lpar
/opt/pwrcmps/bin/ms
/opt/pwrcmps/bin/vios
/opt/pwrcmps/etc
/opt/pwrcmps/etc/Copyright
/opt/pwrcmps/etc/LicenseAgreement
/opt/pwrcmps/etc/sample.lpar.cfg
$
To ensure that the LPAR tool commands are found and the full path does not always have to be specified, the shell’s search path can be adjusted accordingly:
$ PATH=${PATH}:/opt/pwrcmps/bin
$ export PATH
$
To make this permanent, the path should be stored in one of the shell configuration files (e.g. .bashrc if bash is used).
A quick check with the which command shows that the LPAR tool commands are found:
$ which hmc ms lpar vios
/opt/pwrcmps/bin/hmc
/opt/pwrcmps/bin/ms
/opt/pwrcmps/bin/lpar
/opt/pwrcmps/bin/vios
$