Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install and use Axel download tool in Linux system

Shulou Source: shulou.com Published: 2022-06-01 09:14:59 10月02日 Update

This article introduces the knowledge of "how to install and use the Axel download tool in the Linux system". Many people will encounter this dilemma in the operation of the actual case, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Axel is a good HTTP/FTP high-speed download tool for Linux. Support for multithreaded downloads, breakpoint resumes, and the same file can be downloaded from multiple addresses or multiple connections from one address. It is suitable for multi-thread download to improve the download speed when the network speed is not strong. For example, downloading lnmp one-click installation package on domestic VPS or server with Axel is faster than wget.

Installation

CentOS installation Axel:

Currently, there is no Axel on the yum source. We can download the rpm package and install it from http://pkgs.repoforge.org/axel/.

The 32-bit CentOS executes the following command:

The code is as follows:

Wget-c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.i386.rpm

Rpm-ivh axel-2.4-1.el5.rf.i386.rpm

The 64-bit CentOS executes the following command:

The code is as follows:

Wget-c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.x86_64.rpm

Rpm-ivh axel-2.4-1.el5.rf.x86_64.rpm

Debian/Ubuntu installation Axel:

The code is as follows:

Apt-get install axel

How to use the Axel command:

# axel [options] [download directory] [download address]

-s [x]: specifies the maximum number of bits downloaded per second.

N [x]: specifies the number of threads open at the same time.

-o f: specify the local output file.

-S [x]: search for images and download them from the X servers server.

-N: no proxy server is used.

-v: print more status information.

-a: print progress information.

-h: this version of command help.

-V: view the version information number.

A typical download is as follows:

The code is as follows:

# axel-n 10-o / home/zm/ http://lab.sa.bupt.cn/ewebeditor/UploadFile/

Download the files of the specified path to the / home/zm directory with 10 threads.

This is the end of the content of "how to install and use Axel download tool in Linux system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Code commands threads download tools tools information addresses files more servers services systems Zhongan content multiple versions directories knowledge output good Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Tech Info NVidia MySQL Apple