You are here

yum

Find the largest installed packages in CentOS

I recently bought a VPS to host a Counter Strike server. WIthout having any choice, I was stuck with CentOS 5. After getting everything set up, I wasn't left with much disk space left. So, I read the man page for sort and used the following RPM command to find the largest packages installed:

rpm -qa --queryformat '%{name} %{size}\n' | sort -k2n

 

Subscribe to RSS - yum