How To Install w3m on Rocky Linux 8

In this tutorial we learn how to install w3m on Rocky Linux 8. w3m is Pager with Web browsing abilities

Introduction

In this tutorial we learn how to install w3m on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install w3m.

Install w3m on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove w3m

w3m Package Contents on Rocky Linux 8

/etc/w3m
/etc/w3m/config
/usr/bin/w3m
/usr/bin/w3mman
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/858b9153cf78f5a8c0b489434c4f4aa53384de
/usr/lib/.build-id/11
/usr/lib/.build-id/11/685e597197aa499d50548352ae6402d7490b99
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/4310768e478c2b083bbcc3b1e6158175191e8e
/usr/lib/.build-id/59
/usr/lib/.build-id/59/14095231bacd7f0c6bc079d7085685ba9cee5c
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/2cc249ed8c31331ee46c167ab7404bfc048f47
/usr/libexec/w3m
/usr/libexec/w3m/cgi-bin
/usr/libexec/w3m/cgi-bin/dirlist.cgi
/usr/libexec/w3m/cgi-bin/multipart.cgi
/usr/libexec/w3m/cgi-bin/w3mbookmark
/usr/libexec/w3m/cgi-bin/w3mdict.cgi
/usr/libexec/w3m/cgi-bin/w3mhelp.cgi
/usr/libexec/w3m/cgi-bin/w3mhelperpanel
/usr/libexec/w3m/cgi-bin/w3mmail.cgi
/usr/libexec/w3m/cgi-bin/w3mman2html.cgi
/usr/libexec/w3m/inflate
/usr/libexec/w3m/xface2xpm
/usr/share/doc/w3m
/usr/share/doc/w3m/ChangeLog
/usr/share/doc/w3m/NEWS
/usr/share/doc/w3m/README
/usr/share/doc/w3m/doc
/usr/share/doc/w3m/doc-de
/usr/share/doc/w3m/doc-de/FAQ.html
/usr/share/doc/w3m/doc-de/MANUAL.html
/usr/share/doc/w3m/doc-de/README.func
/usr/share/doc/w3m/doc-jp
/usr/share/doc/w3m/doc-jp/FAQ.html
/usr/share/doc/w3m/doc-jp/HISTORY
/usr/share/doc/w3m/doc-jp/MANUAL.html
/usr/share/doc/w3m/doc-jp/README
/usr/share/doc/w3m/doc-jp/README.SSL
/usr/share/doc/w3m/doc-jp/README.cookie
/usr/share/doc/w3m/doc-jp/README.cygwin
/usr/share/doc/w3m/doc-jp/README.dict
/usr/share/doc/w3m/doc-jp/README.func
/usr/share/doc/w3m/doc-jp/README.img
/usr/share/doc/w3m/doc-jp/README.keymap
/usr/share/doc/w3m/doc-jp/README.m17n
/usr/share/doc/w3m/doc-jp/README.mailcap
/usr/share/doc/w3m/doc-jp/README.menu
/usr/share/doc/w3m/doc-jp/README.migemo
/usr/share/doc/w3m/doc-jp/README.mouse
/usr/share/doc/w3m/doc-jp/README.passwd
/usr/share/doc/w3m/doc-jp/README.pre_form
/usr/share/doc/w3m/doc-jp/README.siteconf
/usr/share/doc/w3m/doc-jp/README.tab
/usr/share/doc/w3m/doc-jp/STORY.html
/usr/share/doc/w3m/doc-jp/keymap.default
/usr/share/doc/w3m/doc-jp/keymap.lynx
/usr/share/doc/w3m/doc-jp/menu.default
/usr/share/doc/w3m/doc-jp/menu.submenu
/usr/share/doc/w3m/doc/FAQ.html
/usr/share/doc/w3m/doc/HISTORY
/usr/share/doc/w3m/doc/MANUAL.html
/usr/share/doc/w3m/doc/README
/usr/share/doc/w3m/doc/README.cookie
/usr/share/doc/w3m/doc/README.cygwin
/usr/share/doc/w3m/doc/README.dict
/usr/share/doc/w3m/doc/README.func
/usr/share/doc/w3m/doc/README.img
/usr/share/doc/w3m/doc/README.m17n
/usr/share/doc/w3m/doc/README.mouse
/usr/share/doc/w3m/doc/README.passwd
/usr/share/doc/w3m/doc/README.pre_form
/usr/share/doc/w3m/doc/README.siteconf
/usr/share/doc/w3m/doc/README.sixel
/usr/share/doc/w3m/doc/README.tab
/usr/share/doc/w3m/doc/STORY.html
/usr/share/doc/w3m/doc/keymap.default
/usr/share/doc/w3m/doc/keymap.lynx
/usr/share/doc/w3m/doc/menu.default
/usr/share/doc/w3m/doc/menu.submenu
/usr/share/locale/de/LC_MESSAGES/w3m.mo
/usr/share/locale/ja/LC_MESSAGES/w3m.mo
/usr/share/locale/zh_CN/LC_MESSAGES/w3m.mo
/usr/share/locale/zh_TW/LC_MESSAGES/w3m.mo
/usr/share/man/de/man1/w3m.1.gz
/usr/share/man/de/man1/w3mman.1.gz
/usr/share/man/ja/man1/w3m.1.gz
/usr/share/man/man1/w3m.1.gz
/usr/share/man/man1/w3mman.1.gz
/usr/share/w3m
/usr/share/w3m/w3mhelp-funcdesc.de.pl
/usr/share/w3m/w3mhelp-funcdesc.en.pl
/usr/share/w3m/w3mhelp-funcdesc.ja.pl
/usr/share/w3m/w3mhelp-funcname.pl
/usr/share/w3m/w3mhelp.html

References

Summary

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