How to Uninstall or Install xemacs21 Ubuntu 22.04

Updated: August 29, 2022

XEmacs is a full fledged programming language with a mail reader, news reader, info browser, web browser, calendar, specialized editor for more programming languages and other formats than most people encounter in a lifetime, and much more. I will show you how to install xemacs21 on Ubuntu 22.04 in this tutorial.

Software Requirement

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install xemacs21 on Ubuntu 22.04

Install xemacs21 Ubuntu 22.04

xemacs21 is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install xemacs21 using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install xemacs21 on your Ubuntu 22.04.

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install xemacs21 Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get install xemacs21

Install xemacs21 using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

Then, you can now install xemacs21 by following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install xemacs21 Ubuntu by executing this command in the terminal.

sudo aptitude -y install xemacs21

Uninstall xemacs21 on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a xemacs21, can be easily uninstalled by anyone.

You can uninstall xemacs21 on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove xemacs21

If you want to uninstall xemacs21 and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge xemacs21

Conclusion

In this tutorial, I showed you ways to install xemacs21 on Ubuntu 22.04 and some ways to uninstall xemacs21 too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.