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

How to check where the software installed in centos is

Release: 2020-03-31 15:11:04
Original
3911 people have browsed it

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
Copy after login

Then execute

rpm -ql 软件名称
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template