Ubuntu 常用安装包指令杂录

1、通过apt-get安装指定版本

apt-get install <>=<>

2、列出所有来源的版本(仅显示系统适用版本)

apt-cache madison <>

参考:https://www.cnblogs.com/EasonJim/p/7144017.html

3、列出已安装的软件版本详细信息

dpkg -s <>

4、卸载软件包

apt-get remove <>

dpkg -r <>

5、卸载软件包并同时清除配置信息

apt-get –purge remove <>

apt-get purge <>

dpkg -P <>

6、查找filename属于哪个软件包

apt-file search filename 

参考:https://blog.csdn.net/yessharing/article/details/55806090

7、查找非官方软件下载源

https://launchpad.net/ubuntu

8、查看可更新软件

apt list --upgradable

你可能感兴趣的:(杂)