首先使用下面的命令查询要卸载的文件名:
dkpg -l
然后再通过下面的命令卸载:
dkpg -r *
比如我们要卸载google的chrome浏览器:
首先执行dkpg -l:
root@lqm:/home/lqm# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 名称 版本 简介
+++-======================================-======================================-============================================================================================
ii acpi-support 0.137 scripts for handling many ACPI events
ii acpid 1.0.10-5ubuntu4 Advanced Configuration and Power Interface event daemon
ii adduser 3.112ubuntu1 add and remove users and groups