How to Install GNU Emacs on Kali Linux Latest

In this tutorial, we will guide you on how to install GNU Emacs on Kali Linux latest version. GNU Emacs is an open-source, cross-platform text editor that provides a set of powerful tools for programmers, web developers, and anyone who needs to edit code or text.

Prerequisites

Before installing GNU Emacs, you need to make sure that your Kali Linux system is up-to-date. Open your terminal and run the following command to update your system:

sudo apt-get update && sudo apt-get upgrade

Installation Process

Follow the steps below to install GNU Emacs on Kali Linux:

Step 1: Open Terminal

Open your terminal by pressing Ctrl + Alt + T or search for a terminal in the Kali Linux App Menu.

Step 2: Install Packages

Run the following command to install the necessary packages for GNU Emacs. The packages include build-essential, automake, autoconf, and libncurses-dev.

sudo apt-get install build-essential automake autoconf libncurses-dev

Step 3: Download GNU Emacs

Download the latest version of GNU Emacs from the official website by running the following command:

wget http://mirror.team-cymru.com/gnu/emacs/emacs-27.2.tar.gz

Step 4: Extract the Downloaded File

Use the tar command to extract the downloaded file.

tar -xf emacs-27.2.tar.gz

Step 5: Compile and Install

Navigate to the extracted directory and run the following commands to compile and install GNU Emacs.

cd emacs-27.2
./autogen.sh
./configure --without-dbus --without-gconf
make
sudo make install

Conclusion

In this tutorial, we have covered the steps to install GNU Emacs on Kali Linux. Now that you have successfully installed it, you can start utilizing its features and functions for coding or text editing.

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!