Linux -- 查看是否安装了指定的包 前言 通过不同方式安装的软件,有不同的检查的方法 rpm安装 rpm -qa | grep ruby deb安装 dpkg -l | grep ruby yum安装 yum list installed | grep ruby