How To Install w3m-el on Debian 9

In this tutorial we learn how to install w3m-el on Debian 9. w3m-el is simple Emacs interface of w3m

Introduction

In this tutorial we learn how to install w3m-el on Debian 9.

What is w3m-el

w3m-el is:

Emacs-w3m is an interface program of w3m, a pager with WWW capability. It can be used as a lightweight WWW browser on emacsen.

To use the optional features shimbun (interface with web newspapers), w3m-namazu (search files with Namazu), w3m-perldoc (view perl documents), etc., install the required packages flim, namazu2, perl-doc, etc.

There are three methods to install w3m-el on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install w3m-el Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install w3m-el using apt-get by running the following command:

sudo apt-get -y install w3m-el

Install w3m-el Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install w3m-el using apt by running the following command:

sudo apt -y install w3m-el

Install w3m-el Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install w3m-el using aptitude by running the following command:

sudo aptitude -y install w3m-el

How To Uninstall w3m-el on Debian 9

To uninstall only the w3m-el package we can use the following command:

sudo apt-get remove w3m-el

Uninstall w3m-el And Its Dependencies

To uninstall w3m-el and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove w3m-el

Remove w3m-el Configurations and Data

To remove w3m-el configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge w3m-el

Remove w3m-el configuration, data, and all of its dependencies

We can use the following command to remove w3m-el configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge w3m-el

Dependencies

w3m-el have the following dependencies:

References

Summary

In this tutorial we learn how to install w3m-el package on Debian 9 using different package management tools: apt, apt-get and aptitude.