0

When I start "emacs" from the terminal Emacs version 28 is opening. I don't know from which package manager, I have installed Emacs.

which emacs shows: /usr/bin/emacs

I tried removing Emacs with apt-get and snap, but it did not work. How do I remove it?

Carl H
  • 6,181
  • 6
  • 27
  • 41
David
  • 224
  • If you don't know how you installed it, then it could be tricky to remove it. Please [edit] your question and describe what happens when you try to remove it with apt and snap. – Carl H Sep 15 '20 at 07:32
  • so, i need to remember the package manager i used for each software, right? – David Sep 15 '20 at 07:34
  • @Melebius, of course not, did you actually read my question? – David Sep 15 '20 at 07:44
  • 1
    You remove software the opposite way of how it was installed. If it's a snap you'd expect it to show when you list snaps using snap list If it's a deb package you installed, you need the package name to remove it, so you could list packages dpkg -l If you have lots of packages you can of course reduce the number shown with grep etc ... These types of commands allow you to find the package/snap/etc name – guiverc Sep 15 '20 at 07:45

1 Answers1

0

I solved the problem by sudo apt-get remove emacs-snapshot.

Melebius
  • 11,431
  • 9
  • 52
  • 78
David
  • 224