How to check which software has been downloaded and installed in centos

WBOY
Release: 2022-04-14 11:24:01
Original
4848 people have browsed it

In centos, you can use rpm to check which software has been downloaded and installed. rpm is a database recording method. It is a set of management programs that install the required packages to the system host. The parameter "-a " means querying all installed software packages. The parameter "-q" means querying whether a package is installed. The syntax is "rpm -qa".

How to check which software has been downloaded and installed in centos

The operating environment of this article: centos 7 system, Dell G3 computer.

How to check which software has been downloaded and installed in centos

Query the installed software in the system

rpm -qa
Copy after login

The

–a option is to query all installed software software package.

-q is to query whether a package is installed

(display difference: installed rpm packages will not display the suffix .rpm, while uninstalled packages will display the suffix .rpm)

Query which software package an installed file belongs to;

rpm -qf 文件名的绝对路径
Copy after login

RPM is the abbreviation of "Redhat Package

Manager". You can also guess from the name that this was developed by Redhat. . RPM is a set of management programs that install the packages you need to your Linux host in a database record manner. In other words, there is a database about RPM in your Linux system, which records the installed packages and the dependencies between packages.

The example is as follows:

Use rpm to query all software packages that centos has installed

How to check which software has been downloaded and installed in centos

Recommended tutorial: " centos tutorial

The above is the detailed content of How to check which software has been downloaded and installed in centos. 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