Skip to content

Find out the package size

Just installed a small CentOS 5 without additional packages and the 4 GB VMWare disk is almost full :-(


So i wanted to find out unnedded and big packages:

rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n


As reference, the same command line for Debian:

dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n


Examples taken from: http://www.pixelbeat.org/docs/packaging.html

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options