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!

If you read this far, tweet to the author to show them you care. Tweet a thanks
Ronav Saive
A Passionate GNU/Linux Enthusiast and Software Developer with over a decade in the field of Linux and Open Source technologies.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

5 thoughts on “A Command Line Web Browsing with Lynx and Links Tools”

  1. 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.

    Reply
    • 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.

      Reply
  2. 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.

    Reply

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.