Home >Operation and Maintenance >Linux Operation and Maintenance >How to query software package information in Linux
How to query software package information in Linux: 1. Use the RPM command to query the relevant information of the RPM software package, such as querying whether the software package has been installed, the file list of the software package, etc. The syntax "rpm [option] packageName"; 2. Use the yum command with the syntax "yum [option] packageName" to output the installation status of the specified software package. You can also search for all software packages related to the keyword from the yum source server and query the details of the executed software package. information.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
Software package, as the name suggests, is the product of packaging applications, configuration files and data. How to query software package information in Linux? The following article will talk about query methods.
In Linux, we can use the RPM command to query the relevant information of the RPM software package, including querying whether the software package has been installed, Query all installed software packages in the system, view detailed information of software packages, query the file list of software packages, and query which RPM package a certain system file belongs to.
rpm query whether the software is installed
rpm -q packageName
Description | |
---|---|
Package name. |
The above is the detailed content of How to query software package information in Linux. For more information, please follow other related articles on the PHP Chinese website!