Rpm: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 3: Line 3:
|-
|-
| [http://www.rpm.org/ rpm.org] || The RPM Homepage
| [http://www.rpm.org/ rpm.org] || The RPM Homepage
|-
| [http://www.rpm.org/max-rpm/ http://www.rpm.org/max-rpm/] || Maximum RPM -- Taking the Red Hat Package Manager to the Limit
|}
|}
= command line tips =
= command line tips =

Revision as of 01:07, 10 February 2007

Usefull links
rpm.org The RPM Homepage
http://www.rpm.org/max-rpm/ Maximum RPM -- Taking the Red Hat Package Manager to the Limit

command line tips

get the total size used by rpm packages:

 rpm -qa --queryformat "%{SIZE}\n" | awk '{arg += $1} END{ printf "%d Mb\n", arg / 1048576 }'

verify all the installed packages:

 rpm -Va

what package does (e.g.) the nslookup command belong to?

 rpm -qf `which nslookup`