· Run the following commands from the directory where you put the downloaded file :
- Put the downloaded package to the same directory (e.g., root - /cpinfo_X.tgz)
- Uninstall the current package:
rpm -e CPinfo-10-00
- Uncompress the downloaded cpinfo package:
gunzip cpinfo_X.tgz
- Untar the cpinfo tar-ball
tar -xvf cpinfo_X.tar
- Install the cpinfo utility package:
rpm -ivh CPinfo-10-00.i386.rpm
Also you can use the rpm -Uvh --force CPinfo-10-00.i386.rpm command.
- Verify that the cpinfo utility was installed by running the rpm -qa | grep CP command.
Look for the CPinfo-10-00 package.
- Check the build number of CPinfo utility:
cpvinfo /opt/CPinfo-10/bin/cpinfo
Look for the Build Number, it is supposed to be 9110000xx
Note:
If for some reason the CPinfo-10-00 package does not appear in the output of the rpm -qa | grep CP command, try - to rebuild the rpm database by running rpm -v --rebuilddb
- logout from the shell and log in.
- reboot the machine.
· Create the cpinfo output file with the command:
cpinfo -n -z -o /var/log/hostname.cpinfo