How to check the installed software on CentOS 7?

On CentOS 7, you can use the following command to view the installed software:

  1. Use the “rpm” command to view the installed software packages.
  2. display all installed packages
  3. Use the yum command to view the installed software packages:
  4. show a list of installed packages
  5. Check the installed software packages using the dnf command (CentOS 7.4 and above).
  6. list of currently installed packages

The above command will list all installed software packages and their version information. You can filter out specific software packages using the pipeline symbol (|) and the grep command, for example:

rpm -qa | grep <关键字>

“或” can be paraphrased as “or.”

yum list installed | grep <关键字>

或 in English means “Or”.

dnf list installed | grep <关键字>

Replace with the name of the software package or keyword you want to search for. This will list the installed software packages that contain that keyword.

广告
Closing in 10 seconds
bannerAds