How To Install w3m-img on Ubuntu 20.04

In this tutorial we learn how to install w3m-img on Ubuntu 20.04. w3m-img is inline image extension support utilities for w3m

Introduction

In this tutorial we learn how to install w3m-img on Ubuntu 20.04.

What is w3m-img

w3m-img is:

w3m-img provides some utilities to support inline images for w3m on terminal emulator in X Window System environments and Linux framebuffer.

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

sudo apt-get -y install w3m-img

Install w3m-img Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install w3m-img

Install w3m-img 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-img using aptitude by running the following command:

sudo aptitude -y install w3m-img

How To Uninstall w3m-img on Ubuntu 20.04

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

sudo apt-get remove w3m-img

Uninstall w3m-img And Its Dependencies

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

sudo apt-get -y autoremove w3m-img

Remove w3m-img Configurations and Data

To remove w3m-img configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge w3m-img

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

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

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

References

Summary

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