Ubuntu is great and thus I installed it in my father's computer. But the computer is quite old and Ubuntu was becoming slower after every upgrade (now it's on version 18.04 LTS). Thus I installed Lubuntu on top of it. Now he just uses Lubuntu and he's quite happy about it.
How can Ubuntu be removed from a computer which has both Ubuntu and Lubuntu? They are both in the same partition.
You can try this
Start in text-only mode
Run these commands:
Mount partitions in read-write mode
Update repositories
Install aptitude and deborphan
Eliminate the components of gnome that are not necessary in lubuntu
Reinstall lubuntu-desktop
Eliminate orphan packages
Remove unnecessary packages
Remove downloaded packages
Restart system
As I alluded to on Ask Ubuntu, I would expect a simple
To do what you want. I haven't done that recently on a 18.04 Ubuntu base install with another desktop added, so without testing I can't be sure if any problems are to be expected. I wouldn't expect any (results may differ depending on changes you've made however).
As I also stated on Ask Ubuntu I'd type the command and scan the output of packages to be removed looking for any potential problems (not expecting any, but better safe than sorry), then proceed. If I noted any, I'd fix them by a
sudo apt install
either before theubuntu-desktop
removal (which will cause package(s) to be marked as manually installed; thus they'll remain), OR after it (same end effect, after the remove it may require the package to be re-downloaded being the difference; tiny bandwidth hit)For years all my installs were Ubuntu desktop, with my wanted desktop added later as my ISP allowed bandwidth quota free download of Ubuntu ISOs only, updated packages were also quota free so adding
lubuntu-desktop
(etc) afterwards used none of my monthly bandwidth quota. They no longer offer this so I no longer do it this way.If you're worried about the effect, I'd install Ubuntu Desktop on a VM,
apt install lubuntu-desktop
, reboot the VM, then do thesudo apt remove lubuntu-desktop
, restart the VM and look for ill effects; I wouldn't expect any, but currently I'm unwilling to do that test.this answer was written first on discourse.ubuntu.com, thus the references to this site in my wording