I installed GNOME on my KDE fedora install some time ago not realizing it would litter my install with gnome apps. Wondering if there’s a safe and easy way to remove them. Everyone online seems to say that removing a DE risks uninstalling a lot of stuff and thought I should ask here to be sure.
Thanks in advance for any advice!
Have you thought about biting the bullet and just doing a full wipe and fresh OS install? I recently did this with a fresh, minimal Debian install, and it was so worth it.
I just installed 6 months ago and I don’t feel any need or desire to do a full reinstall if I can avoid it
That’s such a Windows way of solving problems.
It’s not. I’m constantly learning and making a mess. A fresh install every year or two keeps the house clean, and keeps me in good practice.
You learn significantly more from actually fixing the problems with your install as opposed to just constantly starting over every time. Doing it just to get rid of a couple of GNOME packages is especially not worth the trouble, considering it’s a rather trivial task.
You do, or I do?
?
use btrfs snapshots then
It may sound masochistic, but I take the opportunity to write scripts that prepare the environment exactly how I like it.
Sounds like you’re rolling your own immutable os, in a way. Masochistic is an accurate description.
Uninstall the gnome desktop package, reinstall the kde desktop package and that should pull the overlapping dependencies. Might need to do this from a virtual terminal, not in the desktop environment.
Or reinstall the OS.
Edit: there’s also
dnf swap
command available for fedora, I’m not really familiar with it’s behavior or how it acts when both DE are already installed, but maybe that could be a lead.Edit 2: after doing reading, I’m confident you can just
dnf remove @gnome-desktop
. The .config files will not be impacted. Applications with overlapping KDE dependencies will belong to two groups, and the operation will keep the ones that include the KDE group. I still recommend a backup.This makes sense. Will this nuke any config files I have set up already?
Thanks for the suggestions!
Hey op, after doing reading, I’m confident you can just
dnf remove @gnome-desktop
. The .config files will not be impacted. Applications with overlapping KDE dependencies will belong to two groups, and the operation will keep the ones that include the KDE group. I still recommend a backup.Thanks so much for the information! I really appreciate it. I’ll see about doing that when I get home tonight
No. all KDE config is in the home directory except maybe some SDDM stuff, which should be trivial to reconfigure if needed.
It shouldn’t but I’m hesitant to say it won’t. Back up all the things you don’t want to lose, this is not a risk free maneuver. However in my limited experience it was the opposite - it’ll remove the applications, but you will still have now-useless config files from the removed environment in place taking up space.
Which distro?
Try to find the Fedora/yum equivalent to
apt-get purge gnome-desktop
apt-get autoremove
I suppose Fedora works similar to Debian handling dependencies, thus uninstalling
libgtk*
should trigger removing all GNOME/GTK packages and apps. Removing a metapackage, like it’s probablygnome-desktop
, usually does almost nothing.Edit: You can reinstall the GTK apps you like to use, e.g. Firefox or LibreOffice, later, as the user config files are not going to be deleted.
Edit 2: Maybe I’ve misunderstood: Do you want to keep the GNOME login session an desktop environment but use KDE apps like Kate instead of gedit?
I want everything GNOME gone. Decided KDE was more my style
Then, as I said, removing
libgtk2
andlibgtk3
, specifically, the corresponding packages containing these libraries, should trigger removing everything GNOME/GTK related.
A question related to this: is there a way to remove pre-installed apps on gnome? I have tried to uninstall them, but the system won’t let me.
Don’t be scared if this leads to uninstallation of a meta-package.