Revision history [back]

The other answers are good, but to get back to your original question:

To list packages containing a word e.g. "firefox":

rpm -qa | grep firefox


I've noticed that I use commands like 'rpm -qa' or 'rpm -qd package' or even 'rpm -ql package' a lot. The first one list all packages, the second one shows the documentation files of a package and the last one shows all the files belonging to a package.

To remove a package, simply enter (as root):

yum remove packagename


A simple alternative to yum history commands is simply taking a look at /var/log/yum.log which shows all the actions done by yum. Especially useful is grepping from that log file e.g.

grep kernel /var/log/yum.log