The yum cache was eating up more disk space than I expected
yum cache size
1 | # du -sh /var/cache/yum |
155 MB, yikes.
Clearing the yum cache
1 | # yum clean all |
Checking the yum cache size again
1 | # du -sh /var/cache/yum |
All cleaned up!
This came in handy when I got a low-disk-space alert from a server and wanted to free up even a little bit of space.
Since you don’t always get to work with clients who can provide generous server specs, I felt this is a piece of knowledge worth keeping in your back pocket.
