卸载软件包 Ubuntu
Unistall packages Ubuntu
我使用 Ubuntu 16.04 才几个星期。昨天我在家里 windows 笔记本电脑上使用 ssh 连接到我的终端(在工作中),我试图远程安装一些程序来向我展示完整的图形桌面,但没有成功。
不管怎样,我现在发现自己充满了我想要删除的不再有用的包。这是使用命令获得的列表:
$ ls -l --time=ctime --time-style=long-iso /usr/share/applications|sort -r -k6|grep "\.desktop"|sed s/'\.desktop.*'//g|awk '{print " "" "}'
2018-05-03 20:38 xscreensaver-properties
2018-05-03 20:38 xfce4-terminal
2018-05-03 20:38 xfce4-taskmanager
2018-05-03 20:38 xfce4-sensors
2018-05-03 20:38 xfce4-screenshooter
2018-05-03 20:38 xfce4-power-manager-settings
2018-05-03 20:38 xfce4-notifyd-config
2018-05-03 20:38 xfce4-notes
2018-05-03 20:38 xfce4-dict
2018-05-03 20:38 xfce4-clipman
2018-05-03 20:37 xfce-xfcalendar-settings
2018-05-03 20:37 xfce-workspaces-settings
2018-05-03 20:37 xfce-wmtweaks-settings
2018-05-03 20:37 xfce-wm-settings
2018-05-03 20:37 xfce-ui-settings
2018-05-03 20:37 xfce-settings-manager
2018-05-03 20:37 xfce-session-settings
2018-05-03 20:37 xfce-mouse-settings
2018-05-03 20:37 xfce-keyboard-settings
2018-05-03 20:37 xfce-display-settings
2018-05-03 20:37 xfce-backdrop-settings
2018-05-03 20:37 xfce4-settings-editor
2018-05-03 20:37 xfce4-session-logout
2018-05-03 20:37 xfce4-run
2018-05-03 20:37 xfce4-mime-settings
2018-05-03 20:37 xfce4-appfinder
2018-05-03 20:37 xfce4-accessibility-settings
2018-05-03 20:37 xfce4-about
2018-05-03 20:37 xfcalendar
2018-05-03 20:37 thunar-volman-settings
2018-05-03 20:37 thunar-settings
2018-05-03 20:37 Thunar-folder-handler
2018-05-03 20:37 Thunar
2018-05-03 20:37 Thunar-bulk-rename
2018-05-03 20:37 panel-preferences
2018-05-03 20:37 panel-desktop-handler
2018-05-03 20:37 globaltime
2018-05-03 20:37 exo-web-browser
2018-05-03 20:37 exo-terminal-emulator
2018-05-03 20:37 exo-preferred-applications
2018-05-03 20:37 exo-mail-reader
2018-05-03 20:37 exo-file-manager
我试过类似的东西:
$ sudo apt-get --purge autoremove exo-file-manager
但我得到的只是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package exo-file-manager
如何删除列表中的所有包?
我成功删除了一大块文件:
sudo apt-get purge xfconf xfce4-utils xfwm4 xfce4-session xfdesktop4 exo-utils xfce4-panel xfce4-terminal thunar
然后我用了一个简单的:
sudo apt-get --purge autoremove package_name_here
剩下的单个包裹。
我使用 Ubuntu 16.04 才几个星期。昨天我在家里 windows 笔记本电脑上使用 ssh 连接到我的终端(在工作中),我试图远程安装一些程序来向我展示完整的图形桌面,但没有成功。 不管怎样,我现在发现自己充满了我想要删除的不再有用的包。这是使用命令获得的列表:
$ ls -l --time=ctime --time-style=long-iso /usr/share/applications|sort -r -k6|grep "\.desktop"|sed s/'\.desktop.*'//g|awk '{print " "" "}'
2018-05-03 20:38 xscreensaver-properties
2018-05-03 20:38 xfce4-terminal
2018-05-03 20:38 xfce4-taskmanager
2018-05-03 20:38 xfce4-sensors
2018-05-03 20:38 xfce4-screenshooter
2018-05-03 20:38 xfce4-power-manager-settings
2018-05-03 20:38 xfce4-notifyd-config
2018-05-03 20:38 xfce4-notes
2018-05-03 20:38 xfce4-dict
2018-05-03 20:38 xfce4-clipman
2018-05-03 20:37 xfce-xfcalendar-settings
2018-05-03 20:37 xfce-workspaces-settings
2018-05-03 20:37 xfce-wmtweaks-settings
2018-05-03 20:37 xfce-wm-settings
2018-05-03 20:37 xfce-ui-settings
2018-05-03 20:37 xfce-settings-manager
2018-05-03 20:37 xfce-session-settings
2018-05-03 20:37 xfce-mouse-settings
2018-05-03 20:37 xfce-keyboard-settings
2018-05-03 20:37 xfce-display-settings
2018-05-03 20:37 xfce-backdrop-settings
2018-05-03 20:37 xfce4-settings-editor
2018-05-03 20:37 xfce4-session-logout
2018-05-03 20:37 xfce4-run
2018-05-03 20:37 xfce4-mime-settings
2018-05-03 20:37 xfce4-appfinder
2018-05-03 20:37 xfce4-accessibility-settings
2018-05-03 20:37 xfce4-about
2018-05-03 20:37 xfcalendar
2018-05-03 20:37 thunar-volman-settings
2018-05-03 20:37 thunar-settings
2018-05-03 20:37 Thunar-folder-handler
2018-05-03 20:37 Thunar
2018-05-03 20:37 Thunar-bulk-rename
2018-05-03 20:37 panel-preferences
2018-05-03 20:37 panel-desktop-handler
2018-05-03 20:37 globaltime
2018-05-03 20:37 exo-web-browser
2018-05-03 20:37 exo-terminal-emulator
2018-05-03 20:37 exo-preferred-applications
2018-05-03 20:37 exo-mail-reader
2018-05-03 20:37 exo-file-manager
我试过类似的东西:
$ sudo apt-get --purge autoremove exo-file-manager
但我得到的只是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package exo-file-manager
如何删除列表中的所有包?
我成功删除了一大块文件:
sudo apt-get purge xfconf xfce4-utils xfwm4 xfce4-session xfdesktop4 exo-utils xfce4-panel xfce4-terminal thunar
然后我用了一个简单的:
sudo apt-get --purge autoremove package_name_here
剩下的单个包裹。