Under Construction
Linux: Installing the tar File
Installing the tar file under Linux does not require any special rights.
We assume that the tar file for Linux has been downloaded from our website to the target system and placed in the current directory.
Verify that the tar file is in the current directory on the target system.
$ ls -l pwrcmps-lpar-rte-1.7.0-0.x86_64.tar.gz
-rw-r--r--. 1 armin user 3924747 Jan 26 21:07 pwrcmps-lpar-rte-1.7.0-0.x86_64.tar.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.tar.gz
$ ls -l pwrcmps-lpar-rte-1.7.0-0.x86_64.tar
-rw-r--r--. 1 armin user 13137920 Jan 26 21:08 pwrcmps-lpar-rte-1.7.0-0.x86_64.tar
$
The tar file can then be unpacked with the command “tar -xvf”:
$ tar xvf pwrcmps-lpar-rte-1.7.0-0.x86_64.tar
Copyright
LicenseAgreement
hmc
ms
lpar
vios
sample.lpar.cfg
$
To ensure that the LPAR tool commands can be found without specifying a path, we recommend creating a subdirectory called bin in the home directory and moving the commands to this directory:
$ mkdir ~/bin
$ mv hmc ms lpar vios ~/bin
$
Then the shell search path should be changed so that this directory is included in the search path:
$ PATH=${PATH}:~/bin
$ export PATH
$
To make this permanent, it 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
/home/armin/bin/hmc
/home/armin/bin/ms
/home/armin/bin/lpar
/home/armin/bin/vios
$