Emacs is an amazing text editor available on all major operating systems from BSD to Linux to macOS and Windows. One of the biggest reasons people love Emacs is that it comes loaded with a wide range of commands designed for the simplest and the most complex tasks. It has almost 40 years of plugin development and configuration hacks working for it.
In this guide, we will install the emacs-gtk package, which is a GUI package of Emacs based on the GTK+ package rather than Lucid.
Updating this database before any installation is always a good idea. It helps resolve any system-level dependencies for the new application. In your terminal, type the following to start the update:
After the update is complete, we can use the traditional method to install the Emacs text editor.
To install Emacs, type the following to start the installation process for emacs-gtk:
Depending on the speed of your Internet connection, the process will approximately take a minute to complete the installation. Once the prompt returns without errors, you should know that the installation has been successfully completed.
Once the installation has been completed, simply type “emacs” in your terminal, and it will launch the text editor:
You need to be sure that the text editor is tied to the terminal which launched it. If you close the terminal, the Emacs will close along with it. Or, if you prefer the GUI way, you can always go into applications to launch it.
If by now you are feeling overwhelmed, you shouldn’t worry. There is an extensive community and detailed tutorials within the editor itself. You can click on any of the following to get started:
When you’re done with the project, or you simply want to uninstall with the text editor, you can uninstall it with the following:
To uninstall emacs-gtk along with all of its dependencies, we can use the following:
If you don’t want simply to uninstall, and you want to get rid of all the configuration files along with all the data, you can use the following to uninstall along with the removal of configs and data:
If you have limited resources and want to get rid of every single thing related to Emacs from your Ubuntu 22.04, use the following:
Emacs is older than many of the modern computing conventions in some of the other packages. Due to this, you will see outdated terminology like “visiting” a file instead of opening it and “writing” instead of saving a file. Thus, Emacs is often viewed as intricate and even enigmatic. But, once you learn the basics, you’ll understand the whole power behind the platform. If this has piqued your interest, you can head to LinuxHint or their website to learn more.
Welcome to the Ubuntu Weekly Newsletter, Issue 883 for the week of March 9 –…
In this article, we will see how to install nvidia-smi on Ubuntu or Debian Linux.…
In this article, we will see how to install clang tool on Ubuntu or Debian…
When working with Docker containers on Raspberry Pi devices, you might encounter frustrating signature verification…
You’ve recently upgraded to Ubuntu 18.04 and found that your OpenVPN connection no longer resolves…
Have you ever tried to open System Monitor on your Ubuntu 18.04 system only to…