1.安装 sudo apt-get install xxx 2.自动修复依赖 sudo apt-get install -f 3.卸载 sudo apt-get remove xxx 4.自动卸载无用的依赖 sudo apt-get autoremove 5.卸载同时删除配置 sudo apt-get remove xxx --purge