Determining the path that a yum package installed to

brettbuddin picture brettbuddin · Nov 19, 2009 · Viewed 147.4k times · Source

I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually?

Answer

Maggs picture Maggs · Nov 19, 2009

yum uses RPM, so the following command will list the contents of the installed package:

$ rpm -ql package-name