How to remove kwrite from KDE 6?

Hi,

I’m trying to remove KWrite because I only use Kate and don’t see any benefit in keeping both. However, I can’t seem to find the KWrite package, so I’m unsure how to remove it properly.

Is it possible to remove KWrite? I suspect it’s tied to a meta-package, as I read in a forum, but there were no instructions on how to handle it.

Hoping someone can share the steps on how to tackle this.

Thanks

kwrite is now part of kate. It is no longer an independent application like it used to be. It is just kate with a lot of the functionality disabled.

Are you implying it cannot be removed?

Yes, it is part of the same package.

2 Likes

KWrite and Kate are the same now - Kate ate KWrite

2 Likes

Got it, thanks for informing me.

1 Like

Much appreciated. I got to thinking about just removing KWrite. Pacman’s “-R” option told me the package didn’t exist, but the “-S” option offered to reinstall it. Confusing! Thank you for the explanation.

1 Like

That is an interesting point. The reason it works this way is that before the kate and kwrite code bases were merged, they were separate packages. For compatibility purposes, the package kate, provides kwrite. That made it so if another package had a dependency on kwrite, it would still work and pull in the package kate instead.

You can see this more clearly if you look at the first few lines of pacman -Si kate:

Repository      : extra
Name            : kate
Version         : 24.08.3-1
Description     : Advanced text editor
Architecture    : x86_64
URL             : https://apps.kde.org/kate/
Licenses        : GPL-2.0-or-later  LGPL-2.0-or-later
Groups          : kde-applications  kde-utilities
Provides        : kwrite

This is why when you run pacman -S kwrite, it tries to reinstall kate. It searches the database for “kwrite”, and finds that kate provides it.

2 Likes

LOVE this! I learned something new, and I value that so much! :smiley: I need to dig a little deeper and start looking more closely at things, rather than just go with what’s on the surface. I’ve gotten into a bad habit of doing that for most things. I need to ditch my Windows mentality :grimacing:

1 Like