Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running 12.04 - I installed kubuntu to try it out and realized that with all the bloatware applications that I didn't want it anymore - I was able to uninstall the kubuntu-desktop but there are still packages left over... How can I make sure I get rid of EVERYTHING Kubuntu installed - even the kde leftovers?

Here's some of what's left when I ran sudo apt-get autoremove kde then "tab" it displayed this:

kdeaccessibility kdepim-runtime kdeadmin
kde-runtime kde-baseapps kde-runtime-data kde-baseapps-bin kdesdk-dolphin-plugins kde-baseapps-data kde-style-oxygen kde-config-cron kdesudo kde-config-gtk kdeutils kde-config-touchpad kde-wallpapers kdegames-card-data kde-wallpapers-default kdegames-card-data-extra kde-window-manager kde-icons-mono
kde-window-manager-common kdelibs5-data kde-workspace kdelibs5-plugins kde-workspace-bin kdelibs-bin
kde-workspace-data kdemultimedia-kio-plugins
kde-workspace-data-extras kdenetwork
kde-workspace-kgreet-plugins kdenetwork-filesharing
kde-zeroconf kdepasswd kdf kdepim-kresources
kdm kdepimlibs-kio-plugins kdoctools

Those are all installed by kubuntu... correct? I just want to go back to my Ubuntu 12.04LTS with Gnome2-classic and without all the kubuntu extras.

I started it off by just removing unnecessary apps that came with kubuntu-full - then realized I didnt want the whole thing at all and uninstalled kubuntu-full but it still says I have these as well:

alex@griever:~$ sudo apt-get --purge remove kubuntu- kubuntu-debug-installer kubuntu-netbook-default-settings kubuntu-default-settings kubuntu-notification-helper kubuntu-firefox-installer kubuntu-web-shortcuts

share|improve this question
up vote 4 down vote accepted

Remove those as well - kubuntu-full is a metapackage, installing it will include it's recommends - uninstalling it does not unfortunately. Only way is to remove the packages as you are doing.

More information on metapackages can be found here -

Reply to comment:

No - it's not done that. I would install synaptic and then use that to search for the kde things you have installed. It's one of those jobs easier the second time, next time do it with a terminal and copy the output so you know what gets installed.

For instance

sudo apt-get install kde-full 

get's these

You might though find it easier and quicker to get the newest 12.04 daily and reinstall, you can use zsync to update your existing iso if you still have that.

share|improve this answer
Can you recommend a first course of action? does this mean I've screwed up my Ubuntu? – Alex Poulos Apr 15 '12 at 12:11
@AlexPoulos Having some extra packages around will not screw up your Ubuntu. Look through the list of packages installed by the kde metapackages, see which ones you are sure you did not have before installing and remove them. – Chan-Ho Suh Apr 15 '12 at 14:24

FYI for future, check out Psychocats tutorials on installing/removing the different desktop environments.

The tutorials are only up through 11.10 (Oneric) currently as Precise isn't officially out yet but probably would work for 12.04 nonetheless.

share|improve this answer
I'd not assume packages between versions are the same - hence the various differing pages that are there – 23 93 26 35 19 57 3 89 Jul 30 '12 at 12:00

EDIT: This answer does not work. I am keeping it up simply to document this fact, because I honestly would have expected it to work.

I do not have kubuntu-desktop installed (slow Internet), but running apt-get --dry-run autoremove ubuntu-desktop only removes one package; I reason that kubuntu-desktop would behave similarly.

Props to @Chan-HoSuh and @NRoach44 for commenting persistently enough to make me actually check my answer.

Running sudo apt-get autoremove kubuntu-desktop should fix it. autoremove is the apt-get command to remove a packages and its dependencies.

It is possible that you must first reinstall kubuntu-desktop in order to autoremove it. APT should not, however, redownload the packages (downloaded packages are saved on your computer), but only reinstall them.

share|improve this answer
That only applies to regular packages. Meta-packages like kubuntu-desktop are basically just wrappers and removing them will not usually remove all its dependencies (one notable exception is gnome-desktop). – Chan-Ho Suh Apr 15 '12 at 13:27
'command to remove packages and its dependencies' In that respect, meta packages are no different. – NRoach44 Apr 15 '12 at 13:31
@NRoach44 The packages listed by the OP as still being installed after removal of kubuntu-desktop are listed as dependencies using apt-cache showpkg and also on the package listing webpage (in contrast to recommends). Perhaps you're making some valid, technical point, but it must involve a definition of "dependency" that is not commonly used. – Chan-Ho Suh Apr 15 '12 at 14:12
its okay guys, I went through and just reinstalled 12.04 anyway. – Alex Poulos Apr 15 '12 at 21:32
I wouldn't have thought it, but the behaviour @Chan-HoSuh describes is what happens. Simply try apt-get autoremove --dry-run ubuntu-desktop on a vanilla install to verify. – zpletan Apr 16 '12 at 12:18

Note, this applies only to Ubuntu 12.04 (Precise).

These removal commands were created based on what Kubuntu packages were added to a default Ubuntu installation. It's possible that the commands might remove some other packages you have since added to the default and want to keep. If that's the case, keep track of which packages those are and reinstall them. Theoretically, your settings should still be there.

sudo apt-get remove akonadi-backend-mysql akonadi-server akregator amarok amarok-common amarok-utils apport-kde apturl-kde ark bluedevil cdparanoia cdrdao cryptsetup docbook-xml docbook-xsl dolphin dragonplayer freespacenotifier gnupg-agent gnupg2 gpgsm gpsd gstreamer0.10-qapt gtk2-engines-oxygen gtk3-engines-oxygen gwenview ibus-qt4 icoutils jockey-kde k3b k3b-data kaccessible kaddressbook kamera kate kate-data katepart kcalc kde-baseapps-bin kde-baseapps-data kde-config-gtk kde-config-touchpad kde-runtime kde-runtime-data kde-style-oxygen kde-wallpapers-default kde-window-manager kde-window-manager-common kde-workspace kde-workspace-bin kde-workspace-data kde-workspace-kgreet-plugins kde-zeroconf kdegames-card-data kdegraphics-strigi-analyzer kdelibs-bin kdelibs5-data kdelibs5-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdepasswd kdepim-kresources kdepim-runtime kdepim-strigi-plugins kdepimlibs-kio-plugins kdesudo kdm kdoctools khelpcenter4 kinfocenter klipper kmag kmail kmenuedit kmix kmousetool knotes konsole kontact kopete kopete-message-indicator korganizer kpat kppp ksnapshot ksysguard ksysguardd ksystemlog ktimetracker ktorrent ktorrent-data kubuntu-debug-installer kubuntu-default-settings kubuntu-desktop kubuntu-docs kubuntu-firefox-installer kubuntu-netbook-default-settings kubuntu-notification-helper kubuntu-web-shortcuts kvkbd kwalletmanager language-selector-kde libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4 libakonadiprotocolinternals1 libassuan0 libattica0.3 libbluedevil1 libboost-program-options1.46.1 libcalendarsupport4 libcln6 libclucene0ldbl libdebconf-kde0 libdlrestrictions1 libdmtx0a libencode-locale-perl libepub0 libeventviews4 libfile-listing-perl libflac++6 libfont-afm-perl libgadu3 libgif4 libgpgme++2 libgps20 libgrantlee-core0 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 libibus-qt1 libilmbase6 libincidenceeditorsng4 libindicate-qt1 libio-socket-inet6-perl libio-socket-ssl-perl libk3b6 libkabc4 libkactivities-bin libkactivities6 libkalarmcal2 libkateinterfaces4 libkatepartinterfaces4 libkblog4 libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecorations4 libkdecore5 libkdegames5a libkdepim4 libkdepimdbusinterfaces4 libkdesu5 libkdeui5 libkdewebkit5 libkdgantt2 libkdnssd4 libkemoticons4 libkephal4abi1 libkexiv2-10 libkexiv2-data libkfile4 libkholidays4 libkhtml5 libkidletime4 libkimap4 libkio5 libkipi-data libkipi8 libkjsapi4 libkjsembed4 libkldap4 libkleo4 libkmanagesieve4 libkmbox4 libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkonq-common libkonq5-templates libkonq5abi1 libkontactinterface4 libkopete4 libkparts4 libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkresources4 libkrosscore4 libksba8 libkscreensaver5 libksgrd4 libksieve4 libksieveui4 libksignalplotter4 libktexteditor4 libktnef4 libktorrent-l10n libktorrent3 libkunitconversion4 libkwineffects1abi3 libkwinglutils1 libkwinnvidiahack4 libkworkspace4abi1 libkxmlrpcclient4 liblastfm0 libloudmouth1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailcommon4 libmailtools-perl libmailtransport4 libmessagecomposer4 libmessagecore4 libmessagelist4 libmessageviewer4 libmicroblog4 libmpcdec6 libmsn0.3 libmuonprivate1 libmygpo-qt1 libmysqlclient18 libnepomuk4 libnepomukdatamanagement4 libnepomukquery4a libnepomuksync4 libnepomukutils4 libnet-http-perl libnet-ssleay-perl libntrack-qt4-1 libntrack0 libokularcore1abi1 libopenexr6 libotr2 libphonon4 libplasma-geolocation-interface4 libplasma3 libplasmaclock4abi3 libplasmagenericshell4 libpolkit-qt-1-1 libpoppler-qt4-3 libprison0 libprocesscore4abi1 libprocessui4a libqalculate5 libqapt-runtime libqapt1 libqca2 libqca2-plugin-ossl libqgpgme1 libqimageblitz4 libqjson0 libqrencode3 libqt4-designer libqt4-help libqt4-qt3support libqt4-scripttools libqt4-sql-mysql libqt4-test libqtassistantclient4 libqtglib-2.0-0 libqtgstreamer-0.10-0 libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql libqtscript4-uitools libqtscript4-xml libqtwebkit4 libreoffice-kde libreoffice-style-oxygen libsocket6-perl libsolid4 libsolidcontrol4abi2 libsolidcontrolifaces4abi2 libsoprano4 libstreamanalyzer0 libstreams0 libsyndication4 libtag-extras1 libtaskmanager4abi3 libtemplateparser4 libthreadweaver4 libtimedate-perl liburi-perl libvirtodbc0 libweather-ion6 libwww-perl libwww-robotrules-perl libxml2-utils libxss1 libzip2 muon muon-installer muon-notifier muon-updater mysql-client-core-5.5 mysql-common mysql-server-core-5.5 ntrack-module-libnl-0 odbcinst odbcinst1debian2 okular okular-extra-backends oxygen-cursor-theme oxygen-icon-theme partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4 plasma-dataengines-addons plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-scriptengine-javascript plasma-scriptengine-python plasma-widget-facebook plasma-widget-folderview plasma-widget-kimpanel plasma-widget-menubar plasma-widget-message-indicator plasma-widget-networkmanagement plasma-widgets-addons plasma-widgets-workspace plymouth-theme-kubuntu-logo plymouth-theme-kubuntu-text polkit-kde-1 printer-applet python-kde4 python-pyudev python-qt4 python-qt4-dbus python-sip qapt-batch qapt-deb-installer quassel quassel-data rekonq sgml-data shared-desktop-ontologies software-properties-kde soprano-daemon system-config-printer-kde systemsettings tasks-icons update-manager-kde usb-creator-kde userconfig virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common xsettings-kde && sudo apt-get install ubuntu-desktop


share|improve this answer
I did it and got this output: – jaorizabal Jul 7 '12 at 3:46
based on your output, i suggest reviewing this duplicated question:… – xlukasx Jul 7 '12 at 4:38
Please attribute the source when you copy and paste -- I edited the original in, although you should so so even if you copied this from one of the two or three AU answers this is floating around in. – izx Jul 8 '12 at 21:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.