183

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?

brettbuddin
  • 1,849
  • 2
  • 12
  • 4
  • 40
    I don't think this is off-topic because if you are developing software this can be sort of a common thing to install a package but not be able to find exactly where it installed to or where the libraries went. – MattPark May 29 '13 at 20:18
  • 2
    There is a reopen link under the question, click it to re-open this question, because I think it is very useful. – Michael Goldshteyn Jul 15 '14 at 14:16
  • 4
    Question closed as off-topic years ago are useful even today. – user892871 Jan 23 '15 at 21:45
  • 1
    Flags requesting that this question be re-opened are likely to be rejected. There is a discussion re: this question's topicality here: http://meta.stackoverflow.com/q/287620/1858225 – Kyle Strand Mar 08 '15 at 08:22
  • this should be migrated to SuperUser site – ericn Mar 11 '15 at 05:20
  • 1
    @eric Unfortunately migration can't be done when questions are sufficiently old. – Kyle Strand Mar 25 '15 at 22:35

3 Answers3

250

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

$ rpm -ql package-name
ndequeker
  • 7,336
  • 6
  • 54
  • 89
Maggs
  • 2,516
  • 1
  • 14
  • 2
11

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.

developmentalinsanity
  • 5,681
  • 2
  • 20
  • 18
4

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.

the Tin Man
  • 150,910
  • 39
  • 198
  • 279
Reynolds
  • 404
  • 2
  • 11