Ubuntu
查看已安装
grep 后跟软件名,如docker
sudo dpkg -l | grep docker
查询结果为docker.io
卸载
sudo apt-get remove -y docker.io
查询安装包
sudo apt-cache search qt5
CentOS:rpm安装包
查询
rpm -qa | grep wkhtml
查询结果:
卸载
rpm -e wkhtmltox-0.12.6-1.centos8.x86_64
CentOS:install
查询:
yum list installed | grep wkhtml
卸载:
yum remove wkhtmltox.x86_64