Posts Tagged ‘rpm’

RPM Package Management

Posted: 11/12/2011 in Ubuntu Linux
Tags: , ,

Most rpm package names are formed as:
name-version-release.architecture.rpm

Use rpm command to manage rpm-based packages.

Major mode options (first option given to rpm)
-install [-i]: install the package
-update [-u]: update or install a package
-freshen[-F]: update only installed package
-verify [-V]: file size, MD5, permissions, type
-query [-q]: query installed/uninstalled packages and files
-erase [-e]: uninstall package

Minor mode options (option that is not in the first position)
a: apply to all installed packages
v: verbose
h: add hashes while processing

Minor mode options together with q
c: list configuration files
d: list documentation files
f: queries which package installed a given file
h: adds hashes while processing
i: list information about a package
l: list all files and directories in a package
p: specifies that the query is performed on the package file


Credits to: http://nakedape.cc