Home  >  Article  >  Operation and Maintenance  >  How to check where the software installed in centos is

How to check where the software installed in centos is

尚
Original
2020-03-31 15:11:043825browse

How to check where the software installed in centos is

First execute the following command to view the names of all installed software.

rpm -qa

Then execute

rpm -ql 软件名称

to display the installation path of the software.

Example:

[root@localhost ~]# rpm -ql tree
/usr/bin/tree
/usr/share/doc/tree-1.6.0
/usr/share/doc/tree-1.6.0/LICENSE
/usr/share/doc/tree-1.6.0/README
/usr/share/man/man1/tree.1.gz

Recommended tutorial:centos tutorial

The above is the detailed content of How to check where the software installed in centos is. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn