You can update the iprutils package.
You can update the iprutils package using two methods:
- Downloaded the latest prebuilt iprutils rpms from http://www14.software.ibm.com/support/customercare/sas/f/lopdiags/home.html.
By clicking on the Learn more and
download tools, you can access the IBM POWER Linux Tools Repository website.
The tools repository supports the RHEL5, RHLE6, SLES10, and SLES11.
You can follow the instructions on the website to download the latest
iprutils rpm packages.
- Download the user space package iprutils source code from SourceForge.net.
By clicking on the Download
IPR Linux Device Driver button.
The iprutils source code is packaged in RPM and tar.gz formats. Users
can download either package.
You must install certain development headers and
libraries before compiling iprutils:
Table 1. Required development
headers and libraries| RHEL4, RHEL5, and RHEL6 |
SLES10 and SLES11 |
- glibc-headers
- kernel-headers
- ncurses-devel
- pciutils-devel
- libsysfs-devel
|
- glibc-devel
- ncurses-devel
- pci-utils-devel
- sysfsutils
|
When building iprutils in an RPM package, use the correct <RPM_DIR> for
your system. If your system is running RHEL4, RHEL5, or RHEL6, use /usr/src/redhat.
If your system is running SLES10 or SLES11, use /usr/src/packages.
- Login to the Linux system
as root.
- Enter rpmbuild -rebuild -target=ppc iprutils-x.y.z-1.src.rpm where x.y.z is
the iprutils version to build the iprutils package.
- Enter cd <RPM_DIR>/RPMS/ppc.
- Enter rpm -U iprutils-x.y.z-1.ppc.rpm to
update iprutils.