Ubuntu – Uninstall ‘not installed’ TexStudio

aptuninstall

I have installed TexStudio from a .deb package downloaded from the TexStudio web page. When I started studio, graphics was corrupted, so I decided to install another LaTeX editor (Texmaker). I installed Texmaker from Ubuntu Software Center. I wanted to remove TexStudio too, so I've clicked on the menu "Installed" and TexStudio nowhere. So I tried it through apt-get remove and the message Package 'texstudio' is not installed, so not removed was shown up. I have tried it with right mouse button click on application shortcut and chose "Uninstall", but nothing works. Texstudio shortcut is annoying, texstudio is runnable but not uninstallable. Is there a way to uninstall application correctly? Thank you.

Best Answer

The actual package name may contain some suffix (less probably a prefix, too), try searching for packages beginning with the string texstudio:

apt list --installed 'texstudio*'

Then remove the found package(s), e.g.:

sudo apt remove texstudio-qt4
Related Question