To uninstall emacs just follow these instructions.
sudo apt-get remove emacs
This will remove just the emacs package itself.
sudo apt-get remove --auto-remove emacs
This will remove the emacs package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for emacs then this will work.
sudo apt-get purge emacs
Or similarly, like this emacs
sudo apt-get purge --auto-remove emacs
Package | emacs |
Version | 45.0ubuntu1 |
Maintainer | Ubuntu Developers <[email protected]> |
Description | GNU Emacs editor (metapackage) |
Distro | ubuntu |
Release | trusty |
Repo | main |
Section | editors |