I installed Krita on my Ubuntu 20.04.6 LTS. I don't remember how I installed it. It's a very complicated software and my use case is very simply. Therefore I wish to uninstall it.
For uninstalling it I issued the command in the terminal
$ sudo apt-get remove krita
but my terminal replied
Package 'krita' is not installed, so not removed
I even tried
$ sudo apt-get purge krita-data
But that doesn't work either.
How do I uninstaller this stickler from my system.
Ubuntu's software installation GUI may decide to install the snap version of packages. In this case, you can remove Krita with the following command:
The two main packaging methods on Ubuntu are debs and snap. In your question, you showed that Krita was not installed through apt/debs. Flatpaks and AppImages are less common and it was unlikely that you would forget installing Krita those ways. That leaves snap as the only possibility left, which you could verify with
which krita