什么是RPM:
RPM: redhat package management英文缩写,只适于于Redhat和Centos系统
安装RPM包:
rpm -ivh psmisc-23.1-3.e18.x86_ 64
查看RPM包:
rpm -qa
rpm -qa | grep psmisc-23.1
查看RPM包安装的文件:
rpm -ql psmisc-23.1
rpm -ql psmisc-23.1 | grep pstree
反查文件是否是由RPM包安装的:
rpm -qf /usr/bin/pstree
删除RPM安装程序:
rpm -e psmisc-23.1