How To Install w3m on AlmaLinux 8

In this tutorial we learn how to install w3m in AlmaLinux 8. w3m is Pager with Web browsing abilities

Introduction

In this tutorial we learn how to install w3m on AlmaLinux 8.

What is w3m

The w3m program is a pager (or text file viewer) that can also be used as a text-mode Web browser. W3m features include the following reading an HTML document, you can follow links and view images using an external image viewer; its internet message mode determines the type of document from the header; if the Content-Type field of the document is text/html, the document is displayed as an HTML document; you can change a URL description like ‘http text into a link to that URL. If you want to display the inline images on w3m, you need to install w3m-img package as well.

We can use yum or dnf to install w3m on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install w3m.

Install w3m on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install w3m using dnf by running the following command:

sudo dnf -y install w3m

Install w3m on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install w3m using yum by running the following command:

sudo yum -y install w3m

How To Uninstall w3m on AlmaLinux 8

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

sudo dnf remove w3m

References

Summary

In this tutorial we learn how to install w3m on AlmaLinux 8 using yum and dnf.