要干净的删除安装的一个程序及其依赖,可执行如下的命令(以删除 gnome为例):
aptitude purge `dpkg --get-selections | grep gnome | cut -f 1` aptitude -f install aptitude purge `dpkg --get-selections | grep deinstall | cut -f 1` aptitude -f install
要干净的删除安装的一个程序及其依赖,可执行如下的命令(以删除 gnome为例):
aptitude purge `dpkg --get-selections | grep gnome | cut -f 1` aptitude -f install aptitude purge `dpkg --get-selections | grep deinstall | cut -f 1` aptitude -f install