Installing RPM
RPM packages typically have file names like foo-1.0-1.i386.rpm. The file name
includes the package name (foo), version (1.0), release (1), and architecture
(i386). To install a package, log in as root and type the following command at a shell prompt:
Preparing...
########################################### [100%]
1:foo ###########################################
[100%]
As you can see, RPM prints out the name of the package and then prints a
succession of hash marks as a progress meter while the package is installed. The
signature of a package is checked automatically when installing or upgrading a
package. The signature confirms that the package was signed by an authorized
party. For example, if the verification of the signature fails, an error message
such as the following is displayed:
message contains the word NOKEY such as:
If you are installing a kernel package, you should use rpm -ivh instead.
includes the package name (foo), version (1.0), release (1), and architecture
(i386). To install a package, log in as root and type the following command at a shell prompt:
- rpm -ivh foo-1.0-1.i386.rpm
- rpm -Uvh foo-1.0-1.i386.rpm
Preparing...
########################################### [100%]
1:foo ###########################################
[100%]
As you can see, RPM prints out the name of the package and then prints a
succession of hash marks as a progress meter while the package is installed. The
signature of a package is checked automatically when installing or upgrading a
package. The signature confirms that the package was signed by an authorized
party. For example, if the verification of the signature fails, an error message
such as the following is displayed:
- error: V3 DSA signature: BAD, key ID 0352860f
- error: Header V3 DSA signature: BAD, key ID 0352860f
message contains the word NOKEY such as:
- warning: V3 DSA signature: NOKEY, key ID 0352860f
If you are installing a kernel package, you should use rpm -ivh instead.
Comments
Post a Comment