apt-cache 搜索软件

2017-11-07  本文已影响62人  赛亚人之神
apt-cache search 搜索包

--names-only, -n 指定搜索名称:Only search on the package and provided package names, not the long descriptions.
1:apt-cache search -n 包名 
2:apt-cache search ^tomcat 使用正则 表示以 tomcat 开头
3:apt-cache search tomcat| grep tomcat 使用管道过滤

删除软件并移除配置
sudo apt-get remove —purge firefox
or 
sudo apt-get purge firefox 


apt-get dist-upgrade 对应 apt full-upgrade
上一篇 下一篇

猜你喜欢

热点阅读