next up previous contents index
Next: Package Already Installed Up: 7.2 Using RPM Previous: 7.2 Using RPM

7.2.1 Installing

  RPM packages typically have file names like foo-1.0-1.i386.rpm, which includes the package name (foo), version (1.0), release (1), and architecture (i386). Installing a package is as simple as:

$ rpm -ivh foo-1.0-1.i386.rpm
foo                         ####################################

As you can see, RPM prints out the name of the package (which is not necessarily the same as the file name, which could have been 1.rpm), and then prints a succession of hash marks as the package is installed, as a sort of progress meter.

Installing packages is designed to be simple, but you can get a few errors:





Red Hat Software