[linux] Determining the path that a yum package installed to

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?

This question is related to linux redhat rpm yum

The answer is


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.


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.


Examples related to linux

grep's at sign caught as whitespace How to prevent Google Colab from disconnecting? "E: Unable to locate package python-pip" on Ubuntu 18.04 How to upgrade Python version to 3.7? Install Qt on Ubuntu Get first line of a shell command's output Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running? Run bash command on jenkins pipeline How to uninstall an older PHP version from centOS7 How to update-alternatives to Python 3 without breaking apt?

Examples related to redhat

How to fix: fatal error: openssl/opensslv.h: No such file or directory in RedHat 7 Start ssh-agent on login How to permanently export a variable in Linux? How to install maven on redhat linux How to find whether MySQL is installed in Red Hat? How to confirm RedHat Enterprise Linux version? Determining the path that a yum package installed to MySQL config file location - redhat linux server Specify the from user when sending email using the mail command

Examples related to rpm

yum error "Cannot retrieve metalink for repository: epel. Please verify its path and try again" updating ContextBroker How do I extract the contents of an rpm? How to ignore conflicts in rpm installs How to make rpm auto install dependencies setup.py examples? Determining the path that a yum package installed to How do I find which rpm package supplies a file I'm looking for? What is the minimum I have to do to create an RPM file? How to list the contents of a package using YUM?

Examples related to yum

How to Install gcc 5.3 with yum on CentOS 7.2? Completely remove MariaDB or MySQL from CentOS 7 or RHEL 7 RHEL 6 - how to install 'GLIBC_2.14' or 'GLIBC_2.15'? CentOS 7 and Puppet unable to install nc How to yum install Node.JS on Amazon Linux yum error "Cannot retrieve metalink for repository: epel. Please verify its path and try again" updating ContextBroker How to install latest version of git on CentOS 7.x/6.x Upgrading PHP on CentOS 6.5 (Final) Yum fails with - There are no enabled repos. Why does configure say no C compiler found when GCC is installed?