How To Install w3m-el-snapshot on Ubuntu 18.04

In this tutorial we learn how to install w3m-el-snapshot on Ubuntu 18.04. w3m-el-snapshot is simple Emacs interface of w3m (development version)

Introduction

In this tutorial we learn how to install w3m-el-snapshot on Ubuntu 18.04.

What is w3m-el-snapshot

w3m-el-snapshot 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.

This package provides a development snapshot version of emacs-w3m.

There are three methods to install w3m-el-snapshot on Ubuntu 18.04. 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-snapshot 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-snapshot using apt-get by running the following command:

sudo apt-get -y install w3m-el-snapshot

Install w3m-el-snapshot Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install w3m-el-snapshot

Install w3m-el-snapshot 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install w3m-el-snapshot

How To Uninstall w3m-el-snapshot on Ubuntu 18.04

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

sudo apt-get remove w3m-el-snapshot

Uninstall w3m-el-snapshot And Its Dependencies

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

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

Remove w3m-el-snapshot Configurations and Data

To remove w3m-el-snapshot configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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