Difference between revisions of "Rpm"

From DWIKI
Line 4: Line 4:
| [http://www.rpm.org/ rpm.org] || The RPM Homepage
| [http://www.rpm.org/ rpm.org] || The RPM Homepage
|}
|}
= 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`


[[Category:rpm]]
[[Category:rpm]]

Revision as of 01:05, 10 February 2007

Usefull links
rpm.org The RPM Homepage

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`