Emacs is a powerful and customizable text editor that is widely-used among developers and system administrators. In this tutorial, we will show you how to install GNU Emacs on Ubuntu Server Latest.
Before you start, you will need:
sudo apt update
sudo apt install emacs
emacs --version
This should display the version of Emacs installed on your system.
If you want to install the latest version of Emacs available at the time of writing, you can follow these steps:
curl -L https://ftp.gnu.org/gnu/emacs/emacs-27.2.tar.gz -o emacs-27.2.tar.gz
tar -zxvf emacs-27.2.tar.gz
sudo apt-get install build-essential libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk-3-dev libncurses5-dev
cd emacs-27.2/
./configure
make
sudo make install
emacs --version
This should display the version of Emacs installed on your system.
In this tutorial, you have learned how to install GNU Emacs on Ubuntu Server Latest. Whether you choose to install the version from the Ubuntu package repository or the latest version by compiling from source, Emacs provides a robust and customizable text editing experience.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!