Archive for April, 2008

rpm

Monday, April 14th, 2008

Because I cut my Linux teeth on Slackware I’m not that familiar with rpm. But now for work and pleasure, I am using rpm based distros, SuSE and CentOS, so it’s time to learn a bit more.

Here’s something simple to display installed packaged and their sizes:

rpm -qa --queryformat '%{NAME}-%{version}-%{release} %{SIZE}\n'