centos-yum

list installed packages with yum:
yum list installed | more
yum list installed | less
yum list installed > /tmp/yum-list

Update your system:
sudo yum update

yum uses RPM, so the following command will list the contents of the installed package:

原文地址:https://www.cnblogs.com/qike/p/5262487.html