Ways to Uninstall and Install w3m-el on Ubuntu 22.04

Updated: November 1, 2022

Emacs-w3m is an interface program of w3m, a pager with WWW capability. It can be used as a lightweight WWW browser on GNU Emacs. In this tutorial, I will show you ways to install w3m-el Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install w3m-el on Ubuntu 22.04

Install w3m-el Ubuntu 22.04

w3m-el is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install w3m-el using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get w3m-el on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install w3m-el Ubuntu by executing this command in the terminal.

sudo apt-get -y install w3m-el

Install w3m-el using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After installing it, you can now install w3m-el, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install w3m-el Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install w3m-el

Uninstall w3m-el 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 w3m-el, can be easily uninstalled by anyone.

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

sudo apt remove --auto-remove w3m-el

If you want to uninstall w3m-el and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge w3m-el

Summary

In this tutorial, I showed you ways to install w3m-el on Ubuntu 22.04 and ways to uninstall w3m-el too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.