Linux Workshop (2:30) ___ X Windows Tricks (3:00) ___ Love Your Shell (3:30) ___ Make It Safe (3:45) ___ Keep It New (4:00) ___ Crash Recovery (4:15)

4.1   Red Hat Package Manager (RPM)

Public Domain
Where to get packages from?

Fresh RPMS, HKBU, etc.

Install and Update
How to update existing packages?

# rpm -Fvh package_file1 package_file2 ...

How to install or update packages?

# rpm -Uvh package_file1 package_file2 ...

How to override dependencies during installation?

# rpm -Uvh --force package_file1 package_file2 ...

Uninstall
How to remove a package?

# rpm -e package_name

Package Information
How to check the package introductory information?

# rpm -qip package_file

How to check the file list of a package?

# rpm -qlp package_file

How to see which package a file comes from?

# rpm -qf path_to_file

Package Naming
What is kernel-2.6.10-1.770_FC2.i686.rpm?

software-source_version-in_house_development_version.architecture.rpm

Previous