At times, you want to find the rpm that installs a particular binary. I was trying to find the rpm for latex, and was doing yum list "latex*" etc. Well, there’s a simple way to find out

rpm -qif <file name>

This will tell you the rpm that installed the binary. BTW, latex comes bundled in tetex-latex rpm. There are bunch of other cool options to rpm. Check the man page for details.

Share