Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to query the installation location of the software package by CentOS

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "how to query the installation location of the software package by CentOS". The editor shows you the operation process through the actual case. The operation method is simple, fast and practical. I hope that this article "how to query the installation location of the software package by CentOS" can help you solve the problem.

In centos, to query the specific installation location of software packages installed in yum, you can use yum-ql to query.

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

Rpm-ql git | grep git-http-backend

The effect is as follows:

Find out where the directory where the software is installed under linux centos

1. If it is installed by rpm, you can: rpm-ql package-name you can man rpm 2. You can find directly on the root directory. -A file name in the name software, but the installation software is usually in the / usr/local directory, which is the default directory for installing the software, so it can be relatively simple to search in the / usr directory. Whereis name on "how to query the installation location of the software package" content here, thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report