1.sudo apt-get purge 软件名称 2.sudo apt-get autoremove 3.dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P