Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Kubuntu 11.04 installed on my laptop, and I want to try, and probably switch to, Gnome-based Ubuntu. What is the best way to do so, by using the package manager, and not overriding the installation? I tried it before, but every time I had unwanted leftovers - The welcome or shutdown screen didn't change, dangling packages remained, etc.

For generality, the question goes also the other way around: How can one replace the KDE-based distro with Gnome, without any leftovers?

Is there a systematic way to completely replace Kubuntu <-> Ubuntu, and make sure that the only remaining things are the home partition?

share|improve this question
    
If you want to experiment, you'd better off with a virtual machine. –  Lekensteyn May 8 '11 at 9:42
add comment

2 Answers

up vote 5 down vote accepted

To have both installed, you can install ubuntu-dekstop for Gnome-based ubuntu, and kubuntu-desktop for Kubuntu.

If you have both installed, you can configure the default display manager with

sudo dpkg-reconfigure gdm    (or kdm)

Either way you can choose whether to use Gnome or KDE at the login screen.

To remove one, you can uninstall ubuntu-desktop or kubuntu-desktop, then run

sudo apt-get autoremove

Depending on any additional packages you installed, some dangling packages may remain.

If you have a separate home partition, you can just reinstall Ubuntu/Kubuntu, formatting your root partition, without touching anything in your home partition. This will give you a clean installation, except for some config files remaining in your home partition. Of course, still make sure you have a backup of your important data.

share|improve this answer
add comment

sudo apt-get autoremove

will not work as stated above . You have to find out the whole list of dependencies from the meta-package 'kubuntu-desktop'

Look at https://help.ubuntu.com/community/PureGnome

share|improve this answer
add comment

Your Answer

 
discard

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.