CentOS the installation location of the query package _linux

Source: Internet
Author: User
Tags centos

In CentOS, you can query using the YUM-QL < package name > for the specific installation location of the packages installed in Yum.

For example, I want to query the installation location of a git-http-backend component of git, which can be implemented using the following command

RPM-QL git | grep git-http-backend

The effect is as follows:

Where are the directories installed by the Linux CentOS search software?

  1. If the RPM is installed can be: RPM-QL package-name
    specific you can man
  rpm 2. You can find it directly in the root directory.-name a filename in the software but the installation software is generally in the/usr/local directory, 
   This is the default directory for installing software, so the search can be simpler in the/usr directory
  3 whereis name

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.