Install the Driver: RPM methods
There are two methods of installing with RPM:
- Standard installation procedure: This method is automated, but there is user control at every step.
- Custom installation procedure: This method is intended for users who wish to customize the installation; for example, to change the destination directories of certain tools. This method is the most complex and should be used only if necessary.
The procedures in this topic should be used only in Linux environments that support the installation and building of packages from an RPM repository. The procedures require that the following RPM directories exist and are used by RPM on your Linux system:
- /usr/src/redhat/BUILD
- /usr/src/redhat/RPMS
- /usr/src/redhat/RPMS
- /usr/src/redhat/SOURCES
- /usr/src/redhat/SPECS
- /usr/src/redhat/SRPMS
Package version and revision
Certain commands used in the following procedures must be entered with the correct package version and revision number.
To determine package version and revision numbers, use this command:
#> rpm -qp filename
Example:
If the package version of the Linux driver is 1.9 and the revision is 38, enter the version and revision level as follows:
For this command variable: |
Use this value: |
---|---|
version |
1.9 |
revision |
38 |
For this command: |
Enter: |
---|---|
rpm -ivv dgrp-version revision.src.rpm |
rpm -ivv dgrp-1.9-38.src.rpm
|