remove kde4 from ubuntu

Asked by Joseph J K

i had installed ubuntu 11.10... and was using unity interface...........
and when i was going through many ubuntu forums
i got to know that we can install kde interface in ubuntu.. and i used the command

sudo apt-get install kde-plasma-desktop

but now i can't start synaptic package manger. and it is saying it can't start dolphin etc...

so i want to remove it
please help me..................

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu meta-kde4 Edit question
Assignee:
No assignee Edit question
Solved by:
Joseph J K
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

run:

dpkg -l | grep -i kde

What is output?

Thanks

Revision history for this message
Joseph J K (joseph-eb) said :
#2

ii freespacenotifier 4:4.7.4-0ubuntu0.1 free space notification module for KDE
ii kde-baseapps 4:4.7.4-0ubuntu0.1 base applications from the official KDE release (meta-package)
ii kde-baseapps-bin 4:4.7.4-0ubuntu0.1 core binaries for the KDE base applications
ii kde-baseapps-data 4:4.7.4-0ubuntu0.1 shared data files for the KDE base applications
ii kde-plasma-desktop 5:68ubuntu9.2 KDE Plasma Desktop and minimal set of applications
ii kde-runtime 4:4.7.4-0ubuntu0.1 runtime components from the official KDE release
ii kde-runtime-data 4:4.7.4-0ubuntu0.1 shared data files for the KDE base runtime module
ii kde-wallpapers-default 4:4.7.1-0ubuntu2 default wallpaper for the Plasma workspace
ii kde-window-manager 4:4.7.4-0ubuntu0.1 K window manager (KWin)
ii kde-workspace 4:4.7.4-0ubuntu0.1 KDE Plasma Workspace components
ii kde-workspace-bin 4:4.7.4-0ubuntu0.1 core binaries for the KDE Plasma Workspace
ii kde-workspace-data 4:4.7.4-0ubuntu0.1 shared data files for the KDE Plasma Workspace
ii kde-workspace-kgreet-plugins 4:4.7.4-0ubuntu0.1 KDE greet libraries for authentication
ii kdebase-runtime 4:4.7.4-0ubuntu0.1 Transitional package for the KDE runtime components
ii kdelibs-bin 4:4.7.4-0ubuntu0.1 core executables for KDE Applications
ii kdelibs5-data 4:4.7.4-0ubuntu0.1 core shared data for all KDE Applications
ii kdelibs5-plugins 4:4.7.4-0ubuntu0.1 core plugins for KDE Applications
ii kdepasswd 4:4.7.4-0ubuntu0.1 graphical password changing utility
ii kdepim-runtime 4:4.7.4-0ubuntu0.1 Runtime components for akonadi-kde
ii kdepimlibs-kio-plugins 4:4.7.4-0ubuntu0.1 kio slaves used by KDE PIM applications
ii kdm 4:4.7.4-0ubuntu0.1 KDE Display Manager for X11
ii libakonadi-kde4 4:4.7.4-0ubuntu0.1 library for using the Akonadi PIM data server
ii libkde3support4 4:4.7.4-0ubuntu0.1 KDE 3 Support Library for the KDE 4 Platform
ii libkdecorations4 4:4.7.4-0ubuntu0.1 library used by decorations for the KDE window manager
ii libkdecore5 4:4.7.4-0ubuntu0.1 KDE Platform Core Library
ii libkdesu5 4:4.7.4-0ubuntu0.1 Console-mode Authentication Library for the KDE Platform
ii libkdeui5 4:4.7.4-0ubuntu0.1 KDE Platform User Interface Library
ii libkdewebkit5 4:4.7.4-0ubuntu0.1 KDE WebKit Library
ii libkdnssd4 4:4.7.4-0ubuntu0.1 DNS-SD Protocol Library for the KDE Platform
ii libkfile4 4:4.7.4-0ubuntu0.1 File Selection Dialog Library for KDE Platform
ii libkio5 4:4.7.4-0ubuntu0.1 Network-enabled File Management Library for the KDE Platform
ii libkjsapi4 4:4.7.4-0ubuntu0.1 KJS API Library for the KDE Development Platform
ii libkmediaplayer4 4:4.7.4-0ubuntu0.1 KMediaPlayer Interface for the KDE Platform
ii libknewstuff3-4 4:4.7.4-0ubuntu0.1 "Get Hot New Stuff" v3 Library for the KDE Platform
ii libknotifyconfig4 4:4.7.4-0ubuntu0.1 library for configuring KDE Notifications
ii libkntlm4 4:4.7.4-0ubuntu0.1 NTLM Authentication Library for the KDE Platform
ii libkparts4 4:4.7.4-0ubuntu0.1 Framework for the KDE Platform Graphical Components
ii libkpty4 4:4.7.4-0ubuntu0.1 Pseudo Terminal Library for the KDE Platform
ii libkresources4 4:4.7.4-0ubuntu0.1 KDE Resource framework library
ii libkscreensaver5 4:4.7.4-0ubuntu0.1 library of the KDE Screensaver system
ii libktexteditor4 4:4.7.4-0ubuntu0.1 KTextEditor interfaces for the KDE Platform
ii libkunitconversion4 4:4.7.4-0ubuntu0.1 Unit Conversion library for the KDE Platform
ii libkwineffects1abi2 4:4.7.4-0ubuntu0.1 library used by effects for the KDE window manager
ii libkworkspace4 4:4.7.4-0ubuntu0.1 library for the kdebase workspace
ii libnepomukquery4a 4:4.7.4-0ubuntu0.1 Nepomuk Query Library for the KDE Platform
ii libphonon-dev 4:4.7.0really4.5.0-3ubuntu4 multimedia framework from KDE - development files
ii libphonon4 4:4.7.0really4.5.0-3ubuntu4 multimedia framework from KDE - core library
ii libplasma3 4:4.7.4-0ubuntu0.1 Plasma Library for the KDE Platform
ii libsolid4 4:4.7.4-0ubuntu0.1 Solid Library for KDE Platform
ii libthreadweaver4 4:4.7.4-0ubuntu0.1 ThreadWeaver Library for the KDE Platform
ii oxygen-cursor-theme 0.0.2010-05-10-kde4.4.3-1ubuntu1 Oxygen Mouse Cursor Theme
ii phonon 4:4.7.0really4.5.0-3ubuntu4 multimedia framework from KDE - metapackage
ii plasma-dataengines-workspace 4:4.7.4-0ubuntu0.1 KDE Plasma data engines
ii plasma-desktop 4:4.7.4-0ubuntu0.1 KDE Plasma workspace for desktop and laptop computers
ii plasma-widgets-workspace 4:4.7.4-0ubuntu0.1 plasma widgets and containments for the KDE Plasma Workspace
ii qapt-batch 1.2.1-0ubuntu2 Batch package manager for KDE

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok try:

sudo apt-get --purge remove `dpkg -l | awk '{print $2}'`

Should do it, review the removed packages and as long as none are what you need you should be ok. You could ust leave them installed TBH, they will only take drive space.

Revision history for this message
Joseph J K (joseph-eb) said :
#4

when i gave this command
sudo apt-get --purge remove `dpkg -l | awk '{print $2}'`

it gave this output

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait
E: Unable to locate package Err?=(none)
E: Couldn't find any package by regex 'Err?=(none)'
E: Unable to locate package Name

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Basically pull package names from the above list and uninstall them. It will pull KDE out.

Revision history for this message
Joseph J K (joseph-eb) said :
#6

Thank You Friend...

At last one of my friends gave this code and it worked perfectly

sudo apt-get remove akonadi-backend-mysql akonadi-server akregator amarok amarok-common amarok-utils apport-kde apturl-kde ark bluedevil cdparanoia cdrdao docbook-xsl dolphin dragonplayer freespacenotifier gnupg-agent gnupg2 gpgsm gstreamer0.10-qapt gtk2-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-wallpapers-default kde-window-manager kde-workspace kde-workspace-bin kde-workspace-data kde-workspace-kgreet-plugins kde-zeroconf kdebase-runtime kdegames-card-data kdegraphics-strigi-analyzer kdelibs-bin kdelibs5-data kdelibs5-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdepasswd kdepim-groupware kdepim-kresources kdepim-runtime kdepim-strigi-plugins kdepim-wizards kdepimlibs-kio-plugins kdesudo kdm kdoctools kfind khelpcenter4 kinfocenter klipper kmag kmail 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 libakonadiprotocolinternals1 libassuan0 libattica0 libbluedevil1 libboost-program-options1.46.1 libcalendarsupport4 libcln6 libclucene0ldbl libdebconf-kde0 libdiscid0 libdlrestrictions1 libdmtx0a libencode-locale-perl libepub0 libeventviews4 libfile-listing-perl libflac++6 libfont-afm-perl libgadu3 libgpgme++2 libgps19 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-ssl-perl libiodbc2 libk3b6 libkabc4 libkateinterfaces4 libkatepartinterfaces4 libkblog4 libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkde3support4 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 libkwineffects1abi2 libkworkspace4 libkxmlrpcclient4 liblastfm0 libloudmouth1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailcommon4 libmailtools-perl libmailtransport4 libmessagecomposer4 libmessagecore4 libmessagelist4 libmessageviewer4 libmicroblog4 libmpcdec6 libmsn0.3 libmuonprivate1 libmusicbrainz3-6 libnepomuk4 libnepomukquery4a libnepomukutils4 libnet-http-perl libnet-ssleay-perl libntrack-qt4-1 libntrack0 libokularcore1 libopenexr6 libotr2 libphonon4 libplasma-geolocation-interface4 libplasma3 libplasmaclock4abi2 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-sqlite 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 libsolid4 libsolidcontrol4abi2 libsolidcontrolifaces4abi2 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libsyndication4 libtag-extras1 libtaskmanager4abi2 libtemplateparser4 libthreadweaver4 libtimedate-perl liburi-perl libvirtodbc0 libweather-ion6 libwww-perl libwww-robotrules-perl libxml2-utils libxss1 libzip1 muon muon-installer muon-notifier muon-updater mysql-client-core-5.1 mysql-server-core-5.1 ntrack-module-libnl-0 odbcinst odbcinst1debian2 okular okular-extra-backends oxygen-cursor-theme oxygen-icon-theme oxygen-icon-theme-complete 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-kimpanel-backend-ibus plasma-widget-menubar plasma-widget-message-indicator plasma-widget-networkmanagement plasma-widgets-addons plasma-widgets-workspace plymouth-theme-kubuntu-logo plymouth-theme-kubuntu-text printer-applet python-kde4 python-pyudev python-qt4 python-qt4-dbus python-sip qapt-batch qapt-deb-installer quassel quassel-data rekonq shared-desktop-ontologies software-properties-kde soprano-daemon system-config-printer-kde systemsettings update-manager-kde usb-creator-kde userconfig virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common && sudo apt-get install ubuntu-desktop