A Command Line Web Browsing with Lynx and Links Tools

For some people around the globe, a web browser that render text along with graphics is important since it gives an easy to use and attractive interface, glossy look, nice visibility, easy navigation, and after all click-initiated control. On the other hand there exist some people who want a web browser that render text only.

For System Administrators who generally don’t have X-windows as a safety measure on their server, the text based web browser comes to rescue. Some OS comes bundled with the text based browser, viz., the ‘links‘ web comes bundled with Gentoo GNU/Linux where installation proceeds with tar ball.

If a command-line browser is more (speedy, better, interface, etc) then it makes a sense to use such text based browsers. In reality, for some features the text based browser gives more better access to encoded information in the page, than the graphical interface.

Examples of a few web Browser that render text+graphics with a little brief.

Google Chrome

It is a free-ware web browser developed by Google having a usages share of 39%, making it most widely used web browser on the planet. The open source project on which chrome is based is called chromium and is available in the Debian repository (and other distros, however it is not much in my acknowledgement).

Read Also : Install Google Chrome 50 on RHEL/CentOS 7/6 and Fedora 23-18

Mozilla Firefox

It is a FOSS (Free and Open Source Software) web Browser having a usages share of 24-25% from different sources, making it the world’s third most used web browser. This web browser is a bit heavy but customisable to any extent.

Read Also : Install Firefox 46 in RHEL/CentOS and Fedora

There are a lot other web browsers but most of them are not FOSS and hence not listed here viz., Opera, Safari, IExplorer.

Lynx is another web browser that is available for Linux (and Windows too). We will be giving a brief description of these two browsers.

Links Browser Properties

  1. Free and Open source (Foss)
  2. Text and graphical web browser with a pull down menu.
  3. Built in support for color and monochrome terminal with the facility of horizontal scrolling.
  4. Inherits a lot of features from graphical user interface e.g., pop-ups, Menus, etc in textual-fashion.
  5. Capable of font Rendering in different sizes and JavaScript support.

Lynx Browser Properties

  1. Text-based Web Browser.
  2. Highly Configurable.
  3. Oldest web browser in use and development.
  4. support for SSL and many features of HTML
  5. Highlight the chosen link.
  6. Number all the links on a web page and open links using number assigned.
  7. No support for JavaScript.
  8. Compatible with older hardware.
  9. Web bugs unsupported, hence 0% privacy concern.
  10. No support for HTTP Cookies.
  11. Configuration through commands in terminal or configuration files.

Download Lynx and Links

  1. Lynxhttp://lynx.browser.org/
  2. Linkshttp://links.twibright.com/

Installation of Lynx and Links

Install Lynx on Debian based Linux systems.

# apt-get install lynx
# apt-get install links

Install Lynx on Red Hat based Linux systems.

# yum -y install lynx
# yum -y install links

How to Use Lynx and Links

Open a link: lynx/links https://www.tecmint.com.

# lynx https://www.tecmint.com
OR
# links https://www.tecmint.com
Linux Command Line Browsers

Linux Command Line Browsers

Shortcut Keys
  1. g: open an address
  2. Left Navigation Arrow: back page
  3. Right Navigation Arrow: Activate Link/ Next Page
  4. Up/Down Navigation Arrow Key: Navigate Through Page

For Detailed Information of their working you can refer to their man pages.

That’s all for now. Don’t forget to mention your valuable thoughts and Comments about the article in the comment Section. Like us and Help us Spread. I will be coming with an Interesting article very soon, till then stay tuned. Good Day Flocks!

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

5 Responses

  1. Rui says:

    I think that `links` do not accept SSL self signed certificates

  2. junghan says:

    Thank you. It helps a lot.
    It’s a basic Web Browser!

  3. roothacker says:

    forgive me i am just a newbie, i want to install links or lynx on my mint linux, when i run apt-get install links or apt-get install lynx, i get a archive.ubuntu.com not found error, run apt-get with –fix-missing or update, when i do this i still get the error. any help will be greatly appriciated.

    • Tiffany says:

      You have to run this command first: apt-get update && apt-get upgrade

      Then you can use the command: apt-get install lynx

      Hope this helps.

  4. Snowmean says:

    Don’t know what about lynx but links2 can easily run into X with simple -g key. Very useful where it’s appropriate. Without that key it may be used like a common text-based web-browser like links.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.