How to Install and Uninstall emacs Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 05,2024

1. Install "emacs" package

Please follow the guidance below to install emacs on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install emacs

2. Uninstall "emacs" package

Please follow the instructions below to uninstall emacs on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the emacs package on Ubuntu 20.04 LTS (Focal Fossa)

Package: emacs
Architecture: all
Version: 1:26.3+1-1ubuntu2
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:26.3) | emacs-lucid (>= 1:26.3) | emacs-nox (>= 1:26.3)
Filename: pool/universe/e/emacs/emacs_26.3+1-1ubuntu2_all.deb
Size: 12736
MD5sum: b7b4fdc85cb53e311dd0f15368c407d0
SHA1: bbd3c3d1af7839bacfae3894e1386f02637a9090
SHA256: 42c454180fc1676db08d951f448696b466ab55ad7dcb5c5366b85f90bf0c9700
Homepage: https://www.gnu.org/software/emacs/
Description: GNU Emacs editor (metapackage)
Description-md5: f991b22b712b84422dc583d29a7b2171