How To Install lynx on CentOS 8

lynx is A text-based Web browser

Introduction

In this tutorial we learn how to install lynx on CentOS 8.

What is lynx

Lynx is a text-based Web browser. Lynx does not display any images, but it does support frames, tables, and most other HTML tags. One advantage Lynx has over graphical browsers is speed; Lynx starts and exits quickly and swiftly displays web pages.

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

Install lynx on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install lynx

Install lynx on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install lynx

How To Uninstall lynx on CentOS 8

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

sudo dnf remove lynx

lynx Package Contents on CentOS 8

/etc/lynx-site.cfg
/etc/lynx.cfg
/etc/lynx.lss
/usr/bin/lynx
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/c96eaeb3258665f4d8f5f30479d779f4b4ae46
/usr/share/doc/lynx
/usr/share/doc/lynx/INSTALLATION
/usr/share/doc/lynx/README
/usr/share/doc/lynx/docs
/usr/share/doc/lynx/docs/CHANGES2.3
/usr/share/doc/lynx/docs/CHANGES2.4
/usr/share/doc/lynx/docs/CHANGES2.5
/usr/share/doc/lynx/docs/CHANGES2.6
/usr/share/doc/lynx/docs/CHANGES2.7
/usr/share/doc/lynx/docs/CHANGES2.8
/usr/share/doc/lynx/docs/CRAWL.announce
/usr/share/doc/lynx/docs/FM.announce
/usr/share/doc/lynx/docs/IBMPC-charsets.announce
/usr/share/doc/lynx/docs/README.TRST
/usr/share/doc/lynx/docs/README.chartrans
/usr/share/doc/lynx/docs/README.cookies
/usr/share/doc/lynx/docs/README.defines
/usr/share/doc/lynx/docs/README.metrics
/usr/share/doc/lynx/docs/README.options
/usr/share/doc/lynx/docs/README.release
/usr/share/doc/lynx/docs/README.rootcerts
/usr/share/doc/lynx/docs/README.ssl
/usr/share/doc/lynx/docs/README.sslcerts
/usr/share/doc/lynx/docs/SOCKETSHR.announce
/usr/share/doc/lynx/docs/TCPWARE.announce
/usr/share/doc/lynx/docs/VMSWAIS.announce
/usr/share/doc/lynx/docs/djgpp.key
/usr/share/doc/lynx/docs/pdcurses.key
/usr/share/doc/lynx/docs/slang.key
/usr/share/doc/lynx/docs/win-386.announce
/usr/share/doc/lynx/lynx.hlp
/usr/share/doc/lynx/lynx_help
/usr/share/doc/lynx/lynx_help/Lynx_users_guide.html
/usr/share/doc/lynx/lynx_help/about_lynx.html
/usr/share/doc/lynx/lynx_help/help_files.txt
/usr/share/doc/lynx/lynx_help/keystrokes
/usr/share/doc/lynx/lynx_help/keystrokes/alt_edit_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/bashlike_edit_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/bookmark_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/cookie_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/dired_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/edit_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/environments.html
/usr/share/doc/lynx/lynx_help/keystrokes/follow_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/gopher_types_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/history_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/keystroke_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/movement_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/option_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/other_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/print_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/scrolling_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/test_display.html
/usr/share/doc/lynx/lynx_help/keystrokes/visited_help.html
/usr/share/doc/lynx/lynx_help/keystrokes/xterm_help.html
/usr/share/doc/lynx/lynx_help/lynx-dev.html
/usr/share/doc/lynx/lynx_help/lynx_help_main.html
/usr/share/doc/lynx/lynx_help/lynx_url_support.html
/usr/share/doc/lynx/samples
/usr/share/doc/lynx/samples/blue-background.lss
/usr/share/doc/lynx/samples/bright-blue.lss
/usr/share/doc/lynx/samples/cernrules.txt
/usr/share/doc/lynx/samples/home.htm
/usr/share/doc/lynx/samples/installdirs.html
/usr/share/doc/lynx/samples/jumps.htm
/usr/share/doc/lynx/samples/jumpsUnix.html
/usr/share/doc/lynx/samples/jumpsVMS.html
/usr/share/doc/lynx/samples/keepviewer
/usr/share/doc/lynx/samples/lynx-demo.cfg
/usr/share/doc/lynx/samples/lynx-keymaps
/usr/share/doc/lynx/samples/lynx.com
/usr/share/doc/lynx/samples/lynx.ico
/usr/share/doc/lynx/samples/lynx.lss
/usr/share/doc/lynx/samples/lynx_bookmarks.htm
/usr/share/doc/lynx/samples/lynxdump
/usr/share/doc/lynx/samples/mailcap
/usr/share/doc/lynx/samples/mailto-form.pl
/usr/share/doc/lynx/samples/midnight.lss
/usr/share/doc/lynx/samples/mild-colors.lss
/usr/share/doc/lynx/samples/mime.types
/usr/share/doc/lynx/samples/oldlynx
/usr/share/doc/lynx/samples/opaque.lss
/usr/share/doc/lynx/test
/usr/share/doc/lynx/test/ALT88592.html
/usr/share/doc/lynx/test/ISO_LATIN1_test.html
/usr/share/doc/lynx/test/README.txt
/usr/share/doc/lynx/test/TestComment.html
/usr/share/doc/lynx/test/bad-html.html
/usr/share/doc/lynx/test/c1.html
/usr/share/doc/lynx/test/circle.html
/usr/share/doc/lynx/test/cp-1252.html
/usr/share/doc/lynx/test/cp-1252a.html
/usr/share/doc/lynx/test/image.jpg
/usr/share/doc/lynx/test/iso-8859-1.html
/usr/share/doc/lynx/test/iso-8859-1a.html
/usr/share/doc/lynx/test/iso-8859-2.html
/usr/share/doc/lynx/test/iso-8859-2a.html
/usr/share/doc/lynx/test/koi8-r.html
/usr/share/doc/lynx/test/quickbrown.html
/usr/share/doc/lynx/test/raw8bit.html
/usr/share/doc/lynx/test/sgml.html
/usr/share/doc/lynx/test/spaces.html
/usr/share/doc/lynx/test/special_urls.html
/usr/share/doc/lynx/test/square.html
/usr/share/doc/lynx/test/tabtest.html
/usr/share/doc/lynx/test/tags.html
/usr/share/doc/lynx/test/test-styles.html
/usr/share/doc/lynx/test/triangle.html
/usr/share/doc/lynx/test/unicode.html
/usr/share/doc/lynx/test/utf-8-demo.html
/usr/share/locale/ca/LC_MESSAGES/lynx.mo
/usr/share/locale/cs/LC_MESSAGES/lynx.mo
/usr/share/locale/da/LC_MESSAGES/lynx.mo
/usr/share/locale/de/LC_MESSAGES/lynx.mo
/usr/share/locale/en/LC_MESSAGES/lynx.mo
/usr/share/locale/eo/LC_MESSAGES/lynx.mo
/usr/share/locale/et/LC_MESSAGES/lynx.mo
/usr/share/locale/fi/LC_MESSAGES/lynx.mo
/usr/share/locale/fr/LC_MESSAGES/lynx.mo
/usr/share/locale/hu/LC_MESSAGES/lynx.mo
/usr/share/locale/id/LC_MESSAGES/lynx.mo
/usr/share/locale/it/LC_MESSAGES/lynx.mo
/usr/share/locale/ja/LC_MESSAGES/lynx.mo
/usr/share/locale/nl/LC_MESSAGES/lynx.mo
/usr/share/locale/pt_BR/LC_MESSAGES/lynx.mo
/usr/share/locale/ru/LC_MESSAGES/lynx.mo
/usr/share/locale/sl/LC_MESSAGES/lynx.mo
/usr/share/locale/sv/LC_MESSAGES/lynx.mo
/usr/share/locale/tr/LC_MESSAGES/lynx.mo
/usr/share/locale/uk/LC_MESSAGES/lynx.mo
/usr/share/locale/vi/LC_MESSAGES/lynx.mo
/usr/share/locale/zh_CN/LC_MESSAGES/lynx.mo
/usr/share/locale/zh_TW/LC_MESSAGES/lynx.mo
/usr/share/man/man1/lynx.1.gz

References

Summary

In this tutorial we learn how to install lynx on CentOS 8 using yum and dnf.