I have ubuntu 12.04
I installed emacs using below commands.
$ apt-get update
$ apt-get install emacs
Then, as expected, I could find emacs while searching in dash.
Next I wanted to uninstall emacs, so I did:
$ apt-get remove emacs
But still I can search emacs in dash. Also I am able to open emacs and use it.
However when I check below command.
sps@sps-Inspiron-N5110:~$ dpkg --status emacs
Package `emacs' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
sps@sps-Inspiron-N5110:~$
It says emacs not installed. But how am I able to use emacs?
To correctly ask , "How to uninstall it ?"
I mean how do I get everything erased. I dont want any of these - source code (if any), or binary executable, or anything related to emacs - in my system, which was added when I did apt-get install emacs
.
Thanks.
emacs
is actually a virtual package, provided byemacs23-lucid
oremacs23-nox
. It's these that should be removed:The
--auto-remove
removes any packages which were installed to fill a dependency, but are no longer needed. In this case, it will remove packages likeemacs23-bin-common
.