001、 rpm -qa | grep "package name"; 例如:
[root@pc1 ~]# rpm -qa | grep "wget" ## 确认是否安装了wget命令 wget-1.14-18.el7_6.1.x86_64 [root@pc1 ~]# rpm -qa | grep "lsb" ## 确认是否安装了lsb命令 redhat-lsb-printing-4.1-27.el7.centos.1.x86_64 redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64 redhat-lsb-languages-4.1-27.el7.centos.1.x86_64 redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64 redhat-lsb-4.1-27.el7.centos.1.x86_64 redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64 redhat-lsb-core-4.1-27.el7.centos.1.x86_64 redhat-lsb-submod-multimedia-4.1-27.el7.centos.1.x86_64
。
标签:27,lsb,x86,redhat,64,linux,安装包,el7 From: https://www.cnblogs.com/liujiaxin2018/p/17815230.html