Richard Stallman developed the Emacs family of highly customizable, cross-platform text editors. In 1976, the original Emacs was published. Emacs is currently being created as part of the GNU project and is written in C and Emacs Lisp. There are several variations of Emacs, but the two most used versions are GNU Emacs and XEmacs.
Emacs text editors offer a variety of content-aware modes, which can speed up development by highlighting specific types of code. Here are three ways to install Emacs text editor on Ubuntu 22.04 LTS Linux:
- Install Emacs from the Ubuntu Software Center: sudo apt-get install emacs
- Use the package manager to install Emacs from source: git clone https://github.com/gnu/emacs cd emacs
- Use the following command to install Emacs from source on Ubuntu 18.04 LTS: sudo apt-get update sudo apt-get install emacs
Ways to Install Emacs Text Editor on Ubuntu 22.04 LTS Linux
- Open the APT package manager and install the necessary packages.
- Type “apt-get update” to get the latest package versions and install them.
- Type “apt-get install -y nginx” to start Nginx and add it to your system’s default web server.
- Type “apt-get update” to get the latest package versions and install them again.
Run system update
To get the latest system update and repository cache updates, use the system update command.
Install Emacs on Ubuntu 22.04
sudo apt-get update && sudo apt-get install emacs This will add the repositories for Emacs and install the latest version of Emacs.
The second method is to use SNAP, which stands for Supplemental Nutrition Assistance Program. SNAP is a government-funded program that helps low-income Americans get food and shelter. It can be used to buy food, groceries, or other items. SNAP is available in many states across the United States. You can find it at most grocery stores and food banks. You can also get it through the Department of Agriculture’s website or by calling 1-800-827-8255.
Use Snap to install Emacs
In Ubuntu 22.04 LTS, we have the PHOTOGRAPH pre-installed. So we can also use it to get the packages instantly to have this text editor on our system.
Ubuntu is a Linux distribution that comes with a graphical user interface (GUI) that makes it easy to manage your files and applications. This way, you can keep your system running smoothly and stay organized.
Emacs GUI or Ubuntu Software Terminal
To install Emacs in Ubuntu, first click on the Ubuntu software icon in the dock and then click on the search icon on the upper left side. From the results, install GUI or Terminal as per your choice. ..
Final Words
This article provides instructions on how to install Emacs text editor on Ubuntu 22.04 LTS. Emacs is a lightweight programming editor that uses almost no system resources, making it a good choice for basic editing tasks. However, it is considerably more capable than mere text editing, and is popular as an IDE and text editor for writing, compiling, debugging and running code in a variety of programming languages. Several Linux-based distributions support Emacs, making it an easy choice for anyone looking for a versatile programming tool. ..