In Linux, seven commands are used to browse Web pages and download files.

Source: Internet
Author: User

In Linux, seven commands are used to browse Web pages and download files.

In the previous article, we mentionedrTorrent,wget,cURL,w3m,ElinksMany people have replied that there are several other tools worth discussing, so this article is available. If you miss the first part of the discussion, you can review it through the link below.

  • Five Linux Command Line-based file download and website browsing tools

This article introduces several other command line tools used to browse Web pages and download files in Linux.

 

1. links

Links is an open source web browser written in C language. It supports all mainstream platforms including Linux, Windows, OS x, and OS/2. It provides two versions based on text and graphic interfaces. Most standard Linux distributions contain text-based versions by default. If links is not installed in your release by default, you can install it using the package management tool. Elinks is a derivative version of links.

  1. # apt-get install links
  2. # yum install links

After the installation is complete, you can use commands like in to browse any web page.

  1. # links www.tecmint.com

In links, you can use the up and down arrow keys on the keyboard to browse. Press the right arrow on the hyperlink to open it, press the left arrow to return to the previous page, and press q to exit.

Shows how to use links to access the website of Tecmint.

You may need to download the source code compressed package of the latest version (version 2.9) from http://links.twibright.com/download.

You can also use wget to download and install the SDK as follows.

  1. # wget http://links.twibright.com/download/links-2.9.tar.gz
  2. # tar -xvf links-2.9.tar.gz
  3. # cd links-2.9
  4. # ./configure –enable-graphics
  5. # make
  6. # make install

Note: libpng, libjpeg, TIFF library, SVGAlib, XFree86, C Compiler, and make packages must be installed for links source code compilation.

 

2. links2

Links is a web browser compiled by the Twibright lab, and Links2 is a graphical version based on it. Links2 supports mouse clicks, design stresses on speed, does not support any CSS, and supports HTML and JavaScript to a certain extent.

Run the following command to install Links2.

  1. # apt-get install links2
  2. # yum install links2

 

3. lynx

Lynx is a text-based web browser released using the GNU GPLv2 protocol and written in iso c. Lynx is a highly configurable web browser, and is the savior of many system administrators. It has a long history and is still under active development.

Run the following command to install lynx.

  1. # apt-get install lynx
  2. # yum install lynx

After the installation is complete, you can use this command to browse the Web page as in.

  1. # lynx www.tecmint.com

If you want to learn more about links and lyns, visit the following link.

  • Use Lynx and Links commands to browse Web pages

 

4. youtube-dl

Youtube-dl is a cross-platform application that can be used to download videos from youtube and several other websites. It is mainly developed using python and released using the gnu gpl protocol, and beyond legal restrictions. (Youtube does not allow users to download videos. Therefore, using youtube-dl may result in illegal use. Read the relevant laws carefully before using this tool .)

Run the following command to install youtube-dl.

  1. # apt-get install youtube-dl
  2. # yum install youtube-dl

After the installation is complete, you can use the following command to download a video from the youtube website as shown in the figure.

  1. # youtube-dl https://www.youtube.com/watch?v=ql4SEy_4xws

If you want to learn more about youtube-dl, visit the following link.

  • YouTube video download tool in youtube-DL-Linux

 

5. fetch

Fetch is a URL retrieval command in unix-like systems. It supports many options, such as searching only ipv4 or ipv6 addresses, no redirection, exiting upon successful retrieval of requests, and automatic retry.

Fetch can be downloaded and installed from the following link.

  • Http://sourceforge.net/projects/fetch? Source = typ_redirect

Before compilation and installation, you need to install HTTP Fetcher, which can be downloaded through the following link.

  • Http://sourceforge.net/projects/http-fetcher? Source = typ_redirect

 

6. Axel

Axel is a command line-based Download Accelerator in Linux. It can accelerate requests using multiple threads and multiple http and ftp connections.

Run the following command to install Axel.

  1. # apt-get install axel
  2. # yum install axel

After installing Axel, you can use this command to download any file.

  1. # axel http://mirror.cse.iitk.ac.in/archlinux/iso/2015.04.01/archlinux-2015.04.01-dual.iso

 

7. aria2

Aria2 is a lightweight command line-based download tool that supports multiple protocols (HTTP, HTTPS, FTP, BitTorrent, and Metalink ). It can use the. metalinks file to download ISO files from multiple servers at the same time.

Run the following command to install aria2.

  1. # apt-get install aria2
  2. # yum install aria2

After installing aria2, you can run this command to download any file.

  1. # aria2c http://cdimage.debian.org/debian-cd/7.8.0/multi-arch/iso-cd/debian-7.8.0-amd64-i386-netinst.iso

Aria2: Linux Command Line download Tool

So much now. We will discuss another interesting topic later. Please stay in touch and always visit Tecmint. Don't forget to provide us with your valuable feedback in the comments. Your love and sharing will help us keep moving forward.

Via: http://www.tecmint.com/command-line-web-browser-download-file-in-linux/

Author: Avishek Kumar Translator: fyh Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.