Determining the path that a yum package installed to

LinuxRedhatRpmYum

Linux Problem Overview


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?

Linux Solutions


Solution 1 - Linux

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

$ rpm -ql package-name

Solution 2 - Linux

Not in Linux at the moment, so can't double check, but I think it's:

rpm -ql ffmpeg

That should list all the files installed as part of the ffmpeg package.

Solution 3 - Linux

I don't know about yum, but rpm -ql will list the files in a particular .rpm file. If you can find the package file on your system you should be good to go.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionbrettbuddinView Question on Stackoverflow
Solution 1 - LinuxMaggsView Answer on Stackoverflow
Solution 2 - LinuxdevelopmentalinsanityView Answer on Stackoverflow
Solution 3 - LinuxReynoldsView Answer on Stackoverflow