Did You Know?
Ask a Question

We are pleased to announce the Launch of our New Section "TecMint Ask"

A Command Line Web Browsing with Lynx and Links Tools

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

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 28.0 on RHEL/CentOS 6 and Fedora 18/16

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 21 in RHEL/CentOS 6.4 & Fedora 18/17

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 http://www.tecmint.com.

# lynx http://www.tecmint.com
OR
# links http://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!

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Linux Services & Free WordPress Setup

Our post is simply ‘DIY’ aka ‘Do It Yourself, still you may find difficulties and want us to help you out. We offer wide range of Linux and Web Hosting Solutions at fair minimum rates. Please submit your orders by Clicking Here.

2 Responses

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

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

Leave a Reply

© 2012-2013 All Rights Reserved.