Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Installation of axel

Shulou Source: shulou.com Published: 2022-06-01 04:11:38 10月04日 Update

1. Introduction to Axel:

Axel is a good HTTP/FTP download tool for Linux. Support multi-thread download, breakpoint resume, and can download the same file from multiple addresses or multiple connections from one address. Suitable for multi-thread download when the speed is not strong to improve download speed. For example, in the domestic VPS or server download lnmp one-click installation package with Axel faster than wget.

2. Axel download:

There is currently no Axel on the yum source, we can go to http://pkgs.repoforce.org/axel/to download the rpm package installation.

3. Installation of Axel:

# tar -xvf axel-2.4.tar.gz# cd axel-2.4# ./ configure --prefix=/usr/local/axel #Check whether the compilation environment is complete and establish a default installation directory Cannot find a C compiler, aborting. #This is due to the lack of gcc compiler. The gcc compiler is a way to convert source #Code handles important programs for machine recognizable binary files. #In other words, if there is no gcc compiler, you cannot pass the source code side #Install the program. Most systems are installed by default, but also #A small number of systems are not installed.# yum groupinstall "Development tools"# ./ configure --prefix=/usr/local/axel The strip option is enabled. This should not be a problem usually, but on some systems it breaks stuff. Configuration done: Internationalization enabled. Debugging disabled. Binary stripping enabled.# make# make install #install # echo 'PATH=/usr/local/axle/bin:$PATH' > /etc/profile.d/axel.sh #axelExecution path # . /etc/profile #Make Configuration File Effective

4. Add the axel-man search command

# vim /etc/man.config# MANPATH /usr/local/axel/share/man

5. Common options

-S[x]: download simultaneously using x images

-s x: Set download speed to x

Q: No information is sent.

-n: Specifies the connections available for selection

-o: Specify download storage directory

6. Examples

# axel -S4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2

Tags: Compile file compiler address multiple directory program system thread speed good important up and down download tool binary code information and at the same time command tool Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Redmi Microsoft vpn MariaDB