Linux 多线程下载工具 axel 下载加速器

简介

在 Linux 命令行下载网络文件,常用的工具是 wget,但是 wget 是单线程的,下载速度慢。
本文介绍另一款工具,axel, 以多线程的方式下载网络文件,速度更快。

axel 具有以下主要功能:

  • 多线程
  • 断点续传

axel 安装

1. Ubuntu 环境
sudo apt update
sudo apt install axel
2. Centos 环境
yum install axel
3. 源码安装
git clone https://github.com/axel-download-accelerator/axel.git
cd axel
./configure && make && make install

使用

axel -n [线程数] [网络文件的地址]
如:

# 开启10个线程下载
axel -n 10 https://github.com/axel-download-accelerator/axel/archive/refs/heads/master.zip

所有命令

ubuntu@ubuntu:~$ axel -h
Usage: axel [options] url1 [url2] [url...]

--max-speed=x		-s x	Specify maximum speed (bytes per second)
--num-connections=x	-n x	Specify maximum number of connections
--max-redirect=x		Specify maximum number of redirections
--output=f		-o f	Specify local output file
--search[=n]		-S[n]	Search for mirrors and download from n servers
--ipv4			-4	Use the IPv4 protocol
--ipv6			-6	Use the IPv6 protocol
--header=x		-H x	Add HTTP header string
--user-agent=x		-U x	Set user agent
--no-proxy		-N	Just don't use any proxy server
--insecure		-k	Don't verify the SSL certificate
--no-clobber		-c	Skip download if file already exists
--quiet			-q	Leave stdout alone
--verbose		-v	More status information
--alternate		-a	Alternate progress indicator
--help			-h	This information
--timeout=x		-T x	Set I/O and connection timeout
--version		-V	Version information

Visit https://github.com/axel-download-accelerator/axel/issues to report bugs
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

修破立生

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值