Clearing up a root partition and removing pointless packages and dependencies

disk space, linux

Our default template for the root partition has only 4GB assigned. I wanted to remove some pointless packages and these two commands below cleared up around 1GB on the disk.

rpm -e java-1.4.2-gcj-compat-javadoc
yum remove emacs-common mesa-libGL xulrunner-devel
yum remove alsa-lib-devel redhat-logos