我在Ubuntu下装KDE4是用以下命令,官方推荐的
sudo aptitude install kubuntu-kde4-desktop
下面就是新装Ubuntu下用以上命令所得的列表
adept adept-batch adept-common adept-installer adept-manager adept-notifier adept-updater akregator apport-qt ark-kde4 cryptsetup debtags dmsetup dolphin-kde4 dragonplayer gnupg-agent gpgsm gwenview-kde4 hplip-gui jockey-common jockey-gtk jockey-kde juk-kde4 kaddressbook kamera-kde4 karm kate-kde4 kde-icons-oxygen kde4libs-bin kdebase-bin kdebase-bin-kde3 kdebase-bin-kde4 kdebase-data-kde4 kdebase-kio-plugins kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common kdebase-workspace-bin kdebase-workspace-data kdelibs-data kdelibs4c2a kdelibs5 kdelibs5-data kdemultimedia-kio-plugins-kde4 kdepim-kio-plugins kdepim-kresources kdepim-wizards kdepimlibs-data kdepimlibs5 kdesktop kdesudo kdesudo-kde4 kdm-kde4 kfind-kde4 khelpcenter khelpcenter-kde4 klipper-kde4 kmail kmilo-kde4 kmix-kde4 knetworkconf-kde4 knotes konqueror-kde4 konqueror-nsplugins-kde4 konsole konsole-kde4 kontact kopete-kde4 korganizer kppp-kde4 krdc-kde4 krfb-kde4 kscd-kde4 ksnapshot-kde4 ksysguard-kde4 ksysguardd-kde4 kubuntu-artwork-usplash kubuntu-default-settings kubuntu-docs kubuntu-konqueror-shortcuts kwalletmanager-kde4 kwin-kde4 language-selector-qt libarts1c2a libartsc0 libaudio2 libavahi-qt3-1 libavcodec1d libavutil1d libcapseo0 libcaptury0 libclucene0ldbl libdbus-qt-1-1c2 libept0 libexiv2-2 libfftw3-3 libgif4 libgmp3c2 libgsm1 libkcal2b libkcddb4-kde4 libkdepim1a libkleopatra1 libkmime2 libkonq4 libkonq5 libkonq5-templates libkpimexchange1 libkpimidentities1 libksba8 libksieve0 libktnef1 liblua50 liblualib50 libmad0 libmimelib1c2a libmodplug0c2 libmpcdec3 libMySQLclient15off libofa0 libokularcore1-kde4 libphonon4 libplasma1 libpoppler-qt4-2 libpostproc1d libpq5 libqca2 libqca2-plugin-ossl libqimageblitz4 libqt3-mt libqt4-assistant libqt4-core libqt4-dbus libqt4-designer libqt4-gui libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-svg libqt4-test libqt4-xml libqtcore4 libqtgui4 libraptor1 librasqal0 librdf0 libskim0 libsoprano4 libstreamanalyzer0 libstreams0 libstrigiqtdbusclient0 libtunepimp5 libvncserver0 libxapian15 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins libxine1-x libxvmc1 libzip1 mysql-common network-manager-kde networkstatus okular-kde4 openoffice.org-kde openoffice.org-style-crystal oxygen-cursor-theme pinentry-qt Python-qt3 python-qt4 python-qt4-common python-qt4-dbus python-reportlab python-sip4 scim-bridge-client-qt scim-qtimm skim software-properties-kde speedcrunch strigi-daemon system-config-printer-kde systemsettings-kde4 ttf-arphic-ukai
如果想卸载KDE4的话,可以运行命令
sudo apt-get remove adept adept-batch adept-common adept-installer adept-manager adept-notifier adept-updater akregator apport-qt ark-kde4 cryptsetup debtags dmsetup dolphin-kde4 dragonplayer gnupg-agent gpgsm gwenview-kde4 hplip-gui jockey-common jockey-gtk jockey-kde juk-kde4 kaddressbook kamera-kde4 karm kate-kde4 kde-icons-oxygen kde4libs-bin kdebase-bin kdebase-bin-kde3 kdebase-bin-kde4 kdebase-data-kde4 kdebase-kio-plugins kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common kdebase-workspace-bin kdebase-workspace-data kdelibs-data kdelibs4c2a kdelibs5 kdelibs5-data kdemultimedia-kio-plugins-kde4 kdepim-kio-plugins kdepim-kresources kdepim-wizards kdepimlibs-data kdepimlibs5 kdesktop kdesudo kdesudo-kde4 kdm-kde4 kfind-kde4 khelpcenter khelpcenter-kde4 klipper-kde4 kmail kmilo-kde4 kmix-kde4 knetworkconf-kde4 knotes konqueror-kde4 konqueror-nsplugins-kde4 konsole konsole-kde4 kontact kopete-kde4 korganizer kppp-kde4 krdc-kde4 krfb-kde4 kscd-kde4 ksnapshot-kde4 ksysguard-kde4 ksysguardd-kde4 kubuntu-artwork-usplash kubuntu-default-settings kubuntu-docs kubuntu-konqueror-shortcuts kwalletmanager-kde4 kwin-kde4 language-selector-qt libarts1c2a libartsc0 libaudio2 libavahi-qt3-1 libavcodec1d libavutil1d libcapseo0 libcaptury0 libclucene0ldbl libdbus-qt-1-1c2 libept0 libexiv2-2 libfftw3-3 libgif4 libgmp3c2 libgsm1 libkcal2b libkcddb4-kde4 libkdepim1a libkleopatra1 libkmime2 libkonq4 libkonq5 libkonq5-templates libkpimexchange1 libkpimidentities1 libksba8 libksieve0 libktnef1 liblua50 liblualib50 libmad0 libmimelib1c2a libmodplug0c2 libmpcdec3 libmysqlclient15off libofa0 libokularcore1-kde4 libphonon4 libplasma1 libpoppler-qt4-2 libpostproc1d libpq5 libqca2 libqca2-plugin-ossl libqimageblitz4 libqt3-mt libqt4-assistant libqt4-core libqt4-dbus libqt4-designer libqt4-gui libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-svg libqt4-test libqt4-xml libqtcore4 libqtgui4 libraptor1 librasqal0 librdf0 libskim0 libsoprano4 libstreamanalyzer0 libstreams0 libstrigiqtdbusclient0 libtunepimp5 libvncserver0 libxapian15 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins libxine1-x libxvmc1 libzip1 mysql-common network-manager-kde networkstatus okular-kde4 openoffice.org-kde openoffice.org-style-crystal oxygen-cursor-theme pinentry-qt python-qt3 python-qt4 python-qt4-common python-qt4-dbus python-reportlab python-sip4 scim-bridge-client-qt scim-qtimm skim software-properties-kde speedcrunch strigi-daemon system-config-printer-kde systemsettings-kde4 ttf-arphic-ukai
但是用以上卸载后因为依赖关系,会连带卸载下列软件:
audacious audacious-plugins exfalso fontforge gstreamer0.10-ffmpeg
gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly jockey-common
jockey-gtk language-support-fonts-zh language-support-zh libartsc0
libaudio-dev libaudio2 libavcodec1d libavformat1d libavutil1d libgif-dev
libgif4 libgmyth0 libgsm1 libmad0 libmodplug0c2 libmpcdec3
libmysqlclient15off libpostproc1d libqt3-mt libqt4-assistant libqt4-core
libqt4-dbus libqt4-designer libqt4-gui libqt4-network libqt4-opengl
libqt4-script libqt4-svg libqt4-test libqt4-xml libqtcore4 libqtgui4
libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin libxine1-console
libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins libxine1-x libxvmc1
mozilla-firefox-locale-zh-cn mozilla-firefox-locale-zh-tw mplayer
mysql-common quodlibet smplayer smplayer-translations ttf-arphic-ukai
virtualbox
如果想保留某些软件的话,可以跟上面对照下,不删除某些软件。或者卸载后自己重装也可以,一般软件都有留缓存,不用重新下载。
我现在的ubuntu安装了VBOX,Smplayer,中文语言包等,安装KDE4桌面新增
adept adept-batch adept-common adept-installer adept-manager adept-notifier
adept-updater akregator apport-qt ark-kde4 cryptsetup debtags dmsetup
dolphin-kde4 dragonplayer gnupg-agent gpgsm gwenview-kde4 hplip-gui
jockey-kde juk-kde4 kaddressbook kamera-kde4 karm kate-kde4 kde-icons-oxygen
kde4libs-bin kdebase-bin kdebase-bin-kde3 kdebase-bin-kde4 kdebase-data-kde4
kdebase-kio-plugins kdebase-runtime kdebase-runtime-bin-kde4
kdebase-runtime-data kdebase-runtime-data-common kdebase-workspace-bin
kdebase-workspace-data kdelibs-data kdelibs4c2a kdelibs5 kdelibs5-data
kdemultimedia-kio-plugins-kde4 kdepim-kio-plugins kdepim-kresources
kdepim-wizards kdepimlibs-data kdepimlibs5 kdesktop kdesudo kdesudo-kde4
kdm-kde4 kfind-kde4 khelpcenter khelpcenter-kde4 klipper-kde4 kmail
kmilo-kde4 kmix-kde4 knetworkconf-kde4 knotes konqueror-kde4
konqueror-nsplugins-kde4 konsole konsole-kde4 kontact kopete-kde4 korganizer
kppp-kde4 krdc-kde4 krfb-kde4 kscd-kde4 ksnapshot-kde4 ksysguard-kde4
ksysguardd-kde4 kubuntu-artwork-usplash kubuntu-default-settings
kubuntu-docs kubuntu-kde4-desktop kubuntu-konqueror-shortcuts
kwalletmanager-kde4 kwin-kde4 language-selector-qt libarts1c2a
libavahi-qt3-1 libcapseo0 libcaptury0 libclucene0ldbl libdbus-qt-1-1c2
libept0 libexiv2-2 libfftw3-3 libgmp3c2 libkcal2b libkcddb4-kde4 libkdepim1a
libkleopatra1 libkmime2 libkonq4 libkonq5 libkonq5-templates
libkpimexchange1 libkpimidentities1 libksba8 libksieve0 libktnef1 liblua50
liblualib50 libmimelib1c2a libofa0 libokularcore1-kde4 libphonon4 libplasma1
libpoppler-qt4-2 libpq5 libqca2 libqca2-plugin-ossl libqimageblitz4
libqt4-qt3support libqt4-sql libraptor1 librasqal0 librdf0 libskim0
libsoprano4 libstreamanalyzer0 libstreams0 libstrigiqtdbusclient0
libtunepimp5 libvncserver0 libxapian15 libzip1 network-manager-kde
networkstatus okular-kde4 openoffice.org-kde openoffice.org-style-crystal
oxygen-cursor-theme pinentry-qt python-qt3 python-qt4 python-qt4-common
python-qt4-dbus python-reportlab python-sip4 scim-bridge-client-qt
scim-qtimm skim software-properties-kde speedcrunch strigi-daemon
system-config-printer-kde systemsettings-kde4
当然,按照以上卸载的话,要重新安装ubuntu-desktop
sudo aptitude install ubuntu-desktop
不过,最好的卸载方法就是你自己安装的时候在终端复制下安装列表,方便以后像这样卸载。