如果我们要卸载软件,我们进行如下操作:首先查看需要卸载软件的版本号,在终端中,输入以下命令:
dpkg -l
卸载软件可以用两种:
sudo dpkg -P 软件名 , 这是一种 删除配置文件的卸载方式
sudo dpkg -r 软件名 , 是一种不删除配置文件的卸载方式
sudo apt-get autoremove --purge , 彻底删除,包括依赖项
删除ubuntu自带的软件
# 卸载libreOffice
sudo apt-get remove libreoffice-common
# 删除Amazon的链接
sudo apt-get remove unity-webapps-common # 旧版
sudo apt remove ubuntu-web-launchers # 新版
# 删除火狐:
sudo apt remove firefox # 新版
# 删除不常用的软件
sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot onboard deja-dup
sudo apt-get remove gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install