关于apt-get的请看我的博文(debian9.6安装卸载软件(apt-get方式))。
1,下载
dpkg方式安装的都是要下载的.deb文件:xxxx.deb。
2,安装(install)
guoyanzhang@bogon:~$ dpkg -i xxxx.deb
3,卸载(remove)
guoyanzhang@bogon:~$ dpkg -r xxxx
4,看是否安装成功(小s,status)
guoyanzhang@bogon:~$ dpkg -s xxxx
5,搜索包含xxxx的文件(大s,search)
guoyanzhang@bogon:~$ dpkg -S xxxx
6,列出包安装到系统中的文件(listfiles)
guoyanzhang@bogon:~$ dpkg -L xxxx
7,卸载并删除配置文件(purge)
guoyanzhang@bogon:~$ dpkg -P xxxx
8,看看dpkg包的架构 (后面不需要参数,我的是amd64)
guoyanzhang@bogon:~$ dpkg --print-architecture
9,以上的平时用就可以了,其他的man就可以了
guoyanzhang@bogon:~$ man dpkg