In Linux, seven commands are used to browse Web pages and download files.
In the previous article, we mentionedrTorrent
,wget
,cURL
,w3m
,Elinks
Many 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.
# apt-get install links
# yum install links
After the installation is complete, you can use commands like in to browse any web page.
# 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.
# wget http://links.twibright.com/download/links-2.9.tar.gz
# tar -xvf links-2.9.tar.gz
# cd links-2.9
# ./configure –enable-graphics
# make
# 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.
# apt-get install links2
# 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.
# apt-get install lynx
# yum install lynx
After the installation is complete, you can use this command to browse the Web page as in.
# 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.
# apt-get install youtube-dl
# 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.
# 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.
# apt-get install axel
# yum install axel
After installing Axel, you can use this command to download any file.
# 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.
# apt-get install aria2
# yum install aria2
After installing aria2, you can run this command to download any file.
# 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: