How to check the installed software on CentOS 7?
On CentOS 7, you can use the following command to view the installed software:
- Use the “rpm” command to view the installed software packages.
- display all installed packages
- Use the yum command to view the installed software packages:
- show a list of installed packages
- Check the installed software packages using the dnf command (CentOS 7.4 and above).
- 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