Revision as of 01:13, 10 February 2007 by JYDawg (talk | contribs)
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`

building tips

When you want to build rpm's make sure you ~/.rpmmacros file is more or less sane:


 %packager       J Doe <johndoe@example.tv>
 %vendor         HomeMade
 %_topdir        /home/jdoe/rpmbuild
 %_tmppath       /home/jdoe/rpmbuild/tmp
 %debug_package  %{nil}

And the correct directories have to exist: