How to Install and Uninstall emacs Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 24,2024

1. Install "emacs" package

In this section, we are going to explain the necessary steps to install emacs on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install emacs

2. Uninstall "emacs" package

Here is a brief guide to show you how to uninstall emacs on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove emacs $ sudo apt autoclean && sudo apt autoremove

3. Information about the emacs package on Ubuntu 21.04 (Hirsute Hippo)

Package: emacs
Architecture: all
Version: 1:27.1+1-3ubuntu3
Priority: optional
Section: universe/editors
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Rob Browning
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 76
Depends: emacs-gtk (>= 1:27.1) | emacs-lucid (>= 1:27.1) | emacs-nox (>= 1:27.1)
Filename: pool/universe/e/emacs/emacs_27.1+1-3ubuntu3_all.deb
Size: 12944
MD5sum: e72ad3a92cdc412f23779e47251d55f4
SHA1: 4dc2661efdb1730e0f60475b3d85595c81bf6816
SHA256: ebe42aca29457cc3ea3068f90eb1e3d4470872c897846c750cc6afb7bb3230b9
SHA512: 488c1eeba14c66c59731dceffd75f98308a849b5738ce852a96ec5fcef34c87139b2a663c2218d3fd02b0a2db222e4b71b708c6a2846a8e1febfd078b8e5aca7
Homepage: https://www.gnu.org/software/emacs/
Description-en: GNU Emacs editor (metapackage)
GNU Emacs is the extensible self-documenting text editor.
This is a metapackage that will always depend on the latest
recommended Emacs variant (currently emacs-gtk).
Description-md5: f991b22b712b84422dc583d29a7b2171