How to check the installation location of a package in Linux using yum?

You can use the following command in Linux to view the location of yum installation packages:

  1. First, use the “yum list” command to view the list of installed software packages. This command will display all installed software packages along with their version information.
  2. Find the package that you want to view the location of, and copy its name.
  3. Use the command rpm -ql to find the installation location of a software package. Replace with the name of the package you are looking for the location of.

For example, to check the location of the installation package httpd, you can execute the following command:

yum list
rpm -ql httpd

This will display the installation location of the httpd software package.

bannerAds