web-dev-qa-db-fra.com

Comment supprimer xubuntu-desktop?

Il y a quelques jours, j'ai installé Xubuntu sur un système Ubuntu normal:

Sudo apt-get install xubuntu-desktop

Je n'ai pas joué longtemps sur Xubuntu avant de réaliser que j'aimais mieux Ubuntu 2D. Maintenant, mon problème est de savoir comment désinstaller Xubuntu et toutes ses dépendances et les packages recommandés tels que Thunar et Abiword.

Pour l'instant je viens de courir:

Sudo apt-get remove xubuntu-*

mais il me reste encore beaucoup de choses de Xubuntu. Ce serait bien si en faisant

apt-get remove xubuntu-desktop

tous les packages installés avec les métapaquets ont également été supprimés, mais ce n'est pas le cas.

37
buzu

Vous pouvez essayer ceci -

Sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview bison blueman brltty-x11 catfish elementary-icon-theme exo-utils flex gigolo gimp gimp-data gmusicbrowser gnome-icon-theme-full gnome-system-tools gnome-time-admin gnumeric gnumeric-common gnumeric-doc gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf gtk2-engines-xfce indicator-application-gtk2 indicator-messages-gtk2 indicator-sound-gtk2 indicator-status-provider-Pidgin leafpad libabiword-2.8 libaiksaurus-1.2-0c2a libaiksaurus-1.2-data libaiksaurusgtk-1.2-0c2a libao-common libao4 libaudio-scrobbler-Perl libbabl-0.0-0 libclutter-1.0-0 libclutter-1.0-common libclutter-gtk-1.0-0 libcogl-common libcogl5 libconfig-inifiles-Perl libencode-locale-Perl libept1 libexo-1-0 libexo-common libfile-listing-Perl libfont-afm-Perl libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libgegl-0.0-0 libgimp2.0 libglade2-0 libgnomevfs2-extra libgoffice-0.8-8 libgoffice-0.8-8-common libgsf-1-114 libgsf-1-common libgstreamer-Perl libgtk2-notify-Perl libgtk2-trayicon-Perl libgtkmathview0c2a libhtml-form-Perl libhtml-format-Perl libhtml-parser-Perl libhtml-tagset-Perl libhtml-tree-Perl libhttp-cookies-Perl libhttp-daemon-Perl libhttp-date-Perl libhttp-message-Perl libhttp-negotiate-Perl libid3tag0 libido-0.1-0 libilmbase6 libio-socket-ssl-Perl libjpeg-progs libkeybinder0 liblink-grammar4 libloudmouth1-0 liblwp-mediatypes-Perl liblwp-protocol-https-Perl libmad0 libmailtools-Perl libnet-dbus-Perl libnet-http-Perl libnet-ssleay-Perl liboobs-1-5 libopenexr6 libotr2 libots0 libpolkit-gtk-1-0 libsexy2 libtagc0 libthunarx-2-0 libtie-ixhash-Perl libtimedate-Perl libtumbler-1-0 liburi-Perl libwv-1.2-3 libwww-Perl libwww-robotrules-Perl libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfcegui4-4 libxfconf-0-2 libxml-parser-Perl libxml-twig-Perl libxml-xpath-Perl libxss1 lightdm-gtk-greeter link-grammar-dictionaries-en m4 mpg321 murrine-themes orage Parole pastebinit Pidgin pidgin-data Pidgin-libnotify Pidgin-microblog Pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj python-glade2 quadrapassel ristretto screensaver-default-images synaptic system-tools-backends tango-icon-theme tango-icon-theme-common tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman ttf-droid ttf-lyx tumbler tumbler-common xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-fsguard-plugin xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-mixer xfce4-mount-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-utils xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xfwm4-themes xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && Sudo apt-get install ubuntu-desktop

Source: http://www.psychocats.net/ubuntu/puregnome

Mise à jour: sur (X) Ubuntu 13.10, le code ci-dessus peut générer une erreur sur les paquets libabiword-2.8 et ttf-droid, vous devrez donc peut-être exécuter ceci:

Sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview alacarte bison blueman brltty-x11 catfish espeak exo-utils flex fonts-droid fonts-lyx gigolo gmusicbrowser gnome-system-tools gnome-time-admin gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf indicator-application-gtk2 indicator-sound-gtk2 leafpad libabiword-3.0 libbison-dev libdigest-crc-Perl libexo-1-0 libexo-common libexo-helpers libfl-dev libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgsf-1-114 libgsf-1-common libgstreamer-Perl libgtk2-notify-Perl libgtk2-trayicon-Perl libgtkmathview0c2a libgtkspell0 libido-0.1-0 libindicate-gtk3 libintl-Perl libjpeg-progs libjpeg-turbo-progs libkeybinder0 liblink-grammar4 libloudmouth1-0 libnet-dbus-Perl liboobs-1-5 libotr2 libots0 librarian0 libsexy2 libtagc0 libthunarx-2-0 libtidy-0.99-0 libtie-ixhash-Perl libtumbler-1-0 libunique-1.0-0 libvte-common libvte9 libwv-1.2-4 libxfce4ui-1-0 libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util6 libxfcegui4-4 libxfconf-0-2 libxml-parser-Perl libxml-twig-Perl libxml-xpath-Perl lightdm-gtk-greeter link-grammar-dictionaries-en m4 orage Parole pastebinit pavucontrol Pidgin pidgin-data Pidgin-libnotify Pidgin-microblog Pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj rarian-compat ristretto screensaver-default-images scrollkeeper shimmer-themes system-tools-backends tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman tumbler tumbler-common xbrlapi xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && Sudo apt-get install ubuntu-desktop

Ce qui est identique au premier code, mais avec libabiword-3.0 au lieu de 2.8 et sans ttf-droid.

21
ManyRoads

La commande suivante supprimera 95% de Xubuntu et XFCE - au lieu des autres commandes mentionnées ne supprimant que 50% ... 60% ... des packages.

Sudo apt-get autoremove --purge xubuntu-* && Sudo apt-get autoremove --purge xfce*

Si vous êtes prêt à être plus radical ... Vous pouvez exécuter la commande suivante. Celui-ci supprime presque tout ce qui concerne xubuntu/xfce:

Sudo apt-get autoremove --purge $( dpkg-query -l *xubuntu* | grep ii | tr -s " " | cut -d" " -f2; dpkg-query -l *xfce* | grep 'ii' | tr -s " " | cut -d" " -f2 )
31
PetronioPadilha

Passez en revue la liste des paquets à supprimer:

$ apt-cache depends xubuntu-desktop | awk '/^\s+Depends: /{print $2;}' | column
alsa-base                       inputattach                     software-properties-gtk         xfce4-notifyd
alsa-utils                      language-selector-gnome         thunar                          xfce4-panel
anacron                         libasound2-plugins              thunar-volman                   xfce4-session
bc                              libpam-systemd                  tumbler                         xfce4-settings
ca-certificates                 libsasl2-modules                ubuntu-drivers-common           xfdesktop4
dmz-cursor-theme                libxp6                          ubuntu-extras-keyring           xfwm4
doc-base                        lightdm                         unzip                           xkb-data
fonts-dejavu-core               lightdm-gtk-greeter             update-manager                  xorg
fonts-freefont-ttf              memtest86+                      wireless-tools                  xterm
foomatic-db-compressed-ppds     openprinting-ppds               wpasupplicant                   xubuntu-artwork
genisoimage                     pm-utils                        xdg-user-dirs                   xubuntu-default-settings
ghostscript-x                   printer-driver-pnm2ppa          xdg-user-dirs-gtk               zenity
gtk2-engines-pixbuf             rfkill                          xfce4-appfinder                 Zip

Ensuite, écrivez ce qui précède dans un fichier et modifiez-le ou désinstallez-le simplement, puis réinstallez ceux dont vous avez besoin pour Ubuntu:

apt-cache depends xubuntu-desktop \
    | awk '/^\s+Depends: /{print $2;}' \
    | Sudo xargs apt-get purge -y`
Sudo apt-get install ubuntu-desktop
6
Dan Garthwaite

Celui-ci fonctionne pour Ubuntu 12.04 Copier tout cela dans Terminal

Sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview alacarte bison blueman brltty-x11 catfish docbook-xml exo-utils flex fonts-droid gigolo gimp gimp-data gmusicbrowser gnome-desktop-data gnome-system-tools gnome-time-admin gnumeric gnumeric-common gnumeric-doc gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf indicator-application-gtk2 indicator-messages-gtk2 indicator-sound-gtk2 indicator-status-provider-Pidgin leafpad libabiword-2.9 libao-common libao4 libaudio-scrobbler-Perl libbabl-0.0-0 libbison-dev libcolamd2.7.1 libconfig-inifiles-Perl libdigest-crc-Perl libencode-locale-Perl libept1.4.12 libexo-1-0 libexo-common libexo-helpers libfile-listing-Perl libfl-dev libfont-afm-Perl libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libgegl-0.0-0 libgimp2.0 libglade2-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgoffice-0.8-8 libgoffice-0.8-8-common libgsf-1-114 libgsf-1-common libgstreamer-Perl libgtk2-notify-Perl libgtk2-trayicon-Perl libgtkmathview0c2a libgtkspell0 libhtml-form-Perl libhtml-format-Perl libhtml-parser-Perl libhtml-tagset-Perl libhtml-tree-Perl libhttp-cookies-Perl libhttp-daemon-Perl libhttp-date-Perl libhttp-message-Perl libhttp-negotiate-Perl libid3tag0 libido-0.1-0 libilmbase6 libio-socket-inet6-Perl libio-socket-ssl-Perl libjavascriptcoregtk-1.0-0 libjpeg-progs libjpeg-turbo-progs libkeybinder0 liblaunchpad-integration1 liblink-grammar4 libloudmouth1-0 liblwp-mediatypes-Perl liblwp-protocol-https-Perl libmad0 libmailtools-Perl libnet-dbus-Perl libnet-http-Perl libnet-ssleay-Perl liboobs-1-5 libopenexr6 libotr2 libots0 librarian0 libsexy2 libsocket6-Perl libtagc0 libthunarx-2-0 libtidy-0.99-0 libtie-ixhash-Perl libtimedate-Perl libtumbler-1-0 libunique-1.0-0 liburi-Perl libvte-common libvte9 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwv-1.2-4 libwww-Perl libwww-robotrules-Perl libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfcegui4-4 libxfconf-0-2 libxml-parser-Perl libxml-twig-Perl libxml-xpath-Perl libxss1 lightdm-gtk-greeter link-grammar-dictionaries-en linux-headers-3.2.0-24 linux-headers-3.2.0-24-generic linux-headers-generic lp-solve m4 mpg321 orage Parole pastebinit pavucontrol Pidgin pidgin-data Pidgin-libnotify Pidgin-microblog Pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj python-glade2 python-gmenu rarian-compat ristretto screensaver-default-images sgml-data shimmer-themes synaptic system-tools-backends tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman ttf-droid ttf-lyx tumbler tumbler-common xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-utils xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && Sudo apt-get install ubuntu-desktop && Sudo /usr/lib/lightdm/lightdm-set-defaults -g unity-greeter
1
T5R

Les commandes doivent être mises à jour comme suit pour Ubuntu 14.04 car libotr2 n'est pas un paquet valide. Il doit être changé pour libotr5. Voici le code mis à jour. Il va réinstaller Ubuntu-desktop.

Sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview alacarte bison blueman brltty-x11 catfish espeak exo-utils flex fonts-droid fonts-lyx gigolo gmusicbrowser gnome-system-tools gnome-time-admin gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf indicator-application-gtk2 indicator-sound-gtk2 leafpad libabiword-3.0 libbison-dev libdigest-crc-Perl libexo-1-0 libexo-common libexo-helpers libfl-dev libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgsf-1-114 libgsf-1-common libgstreamer-Perl libgtk2-notify-Perl libgtk2-trayicon-Perl libgtkmathview0c2a libgtkspell0 libido-0.1-0 libindicate-gtk3 libintl-Perl libjpeg-progs libjpeg-turbo-progs libkeybinder0 liblink-grammar4 libloudmouth1-0 libnet-dbus-Perl liboobs-1-5 libotr5 libots0 librarian0 libsexy2 libtagc0 libthunarx-2-0 libtidy-0.99-0 libtie-ixhash-Perl libtumbler-1-0 libunique-1.0-0 libvte-common libvte9 libwv-1.2-4 libxfce4ui-1-0 libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util6 libxfcegui4-4 libxfconf-0-2 libxml-parser-Perl libxml-twig-Perl libxml-xpath-Perl lightdm-gtk-greeter link-grammar-dictionaries-en m4 orage Parole pastebinit pavucontrol Pidgin pidgin-data Pidgin-libnotify Pidgin-microblog Pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj rarian-compat ristretto screensaver-default-images scrollkeeper shimmer-themes system-tools-backends tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman tumbler tumbler-common xbrlapi xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && Sudo apt-get install ubuntu-desktop
0
user292112