Chapter 23. Updating Your System
23.1. Driver update rpm packages
Occasionally, when a new piece of hardware is not yet supported in the kernel that you have installed, Red Hat or a hardware vendor might make a driver update available. Although you can install driver updates during the installation process (refer to Chapter 7, Updating drivers during installation on Intel and AMD systems for Intel and AMD systems and Chapter 13, Updating drivers during installation on IBM POWER systems for IBM POWER systems) we recommend that you do this only for devices that are essential to carry out the installation. In all other cases, complete the installation first, and then add support for the device with a driver update rpm package as described in this section.
Do not install a driver update rpm unless you are certain that your system requires it. Installing a driver update on a system for which it was not intended can cause system difficulties.
To see a list of driver updates already installed on your system, click Applications > Add/Remove Software on your desktop, and enter the root password if prompted for it. Click the Search tab, enter the word
kmod-(notice the final
-) and click Search.
Figure 23.1. Listing installed Driver Update RPM packages
Alternatively, you can use the command line, as follows:
$ rpm -qa | egrep ^kmod-Note the
-on the end of
kmod. This will list all installed packages that begin with
kmod-, which should include all driver updates that are currently installed on your system. Additional drivers provided by third-party update software are not listed in this output. Contact the third-party vendor for details.
To install a new driver update rpm package:
- Download the driver update rpm package from the location specified by Red Hat or your hardware vendor. The package file name will begin with
kmod(short for kernel module) and have a form similar to this example:
kmod-ipw3945-1.2.04.17.el5.i686.rpmIn the example, the driver update rpm package supplies an Intel IPW3945 WiFi driver update with version number 1.2.0-4.17 for Red Hat Enterprise Linux 5, on i686 systems. A version of this driver package for systems running a Xen kernel will be similar, but include
xenin the package name:
kmod-ipw3945-xen-1.2.04.17.el5.i686.rpmDriver update rpm packages are signed packages, and like all other software packages, they are automatically validated at install time. To perform this step manually, type the following at a command line:
$ rpm --checksig -v filename.rpmwhere filename.rpm is the driver update rpm package file name. This verifies the package against using the standard Red Hat GPG package signing key that is already installed on any Red Hat Enterprise Linux 5.11 system. If you need this key for verification purposes on another system, you can can obtain it from: https://www.redhat.com/security/team/key/
- Locate and double-click the file that you downloaded. The system might prompt you for the root password, after which it will present the following Installing Packages box:
Figure 23.2. The installing packages boxClick Apply to complete the package installation.Alternatively, you can install a driver update manually on the command line:
$ rpm -ivh kmod-ipw3945-1.2.04.17.el5.i686
- Whether you used a graphical install, or a command line install, reboot your system to ensure your system is using the new driver.
If Red Hat ships a kernel errata update before the next release of Red Hat Enterprise Linux, your system will continue to use the driver updates that you have installed. There is no need to re-install driver updates following an errata update. Generally, when Red Hat releases a new version of Red Hat Enterprise Linux, all driver updates for the previous version are incorporated in the new version. However, if it was not possible to include a particular driver, you will need to perform another driver update when you install the new version of Red Hat Enterprise Linux. In this case, Red Hat or your hardware party vendor will inform you of the location of the update.