从 git 仓库构建需先运行 autoreconf -i 生成构建系统;git 构建会自动加 -Werror,非开发场景建议加 --disable-Werror 避免警告导致失败;README 建议非开发场景用 release tarball 而非源码仓库构建

axel
axel-download-acceleratorGPL-2.0活跃维护轻量级命令行下载加速器,通过多线程分段下载把大文件下载速度提上来,适合在终端里替代 wget 或 curl 加速拉取。
Lightweight CLI download accelerator
从发行版安装预编译包;源码构建:./configure && make && make installREADME 未说明硬件要求,未提及显存或 GPU;作为轻量 CLI 工具,可在普通 CPU 环境运行。
轻量级命令行下载加速器,用多连接分块下载提升单文件下载速度
轻量级命令行下载加速器,通过多线程分段下载把大文件下载速度提上来,适合在终端里替代 wget 或 curl 加速拉取。
核心能力
- 对单个文件使用多条连接并行下载
- 可在不同服务器之间做负载均衡
- 支持 HTTP、HTTPS、FTP、FTPS 协议
- 体积轻量,适合字节敏感的系统
- 可用 --without-ssl 编译去掉 SSL/TLS 支持
容易踩的坑
- v2.17.14Version 2.17.14最新正式版2024-04-07 · 2024-04-07 23:40 UTC
Version: 2.17.14, 2024-04-07
Bug Fixes
- Remove inclusion of
<stdatomic.h> - configure: Fix handling of
--with-ssl=yes - conn: Fix potential buffer overrun
- http: Fix filename parsing from Content-Disposition
Other Changes
- configure: Force C89-compliant return type of signal handlers
- configure: Update to autoconf 2.72
- Remove inclusion of
- v2.17.13Version 2.17.132024-02-06 · 2024-02-06 16:46 UTC
查看更新说明
Bug Fixes
- configure: Fix handling of --with-ssl
Other Changes
- abuf: Fix realloc usage
- random: Initialize fd at startup
- v2.17.12Version 2.17.122024-01-29 · 2024-01-29 20:56 UTC
查看更新说明
Bug Fixes
- Fixed a potential int overflow
- Fixed speed-limiting sleep delay overflow
Other Changes
- Implemented early redirect loop detection
- Added wolfSSL support
- Buildsystem improvements
- Simplified configuration support code
- Removed HTTP encoding of URLs on the CLI, should be pre-encoded
Translations
- Fixed a wrong translation for Turkish
- Added Georgian translation
- v2.17.11Version 2.17.112021-12-20 · 2021-12-20 02:02 UTC
查看更新说明
Bug Fixes
- Fixed a deadlock in conn_info
- Fixed build on FreeBSD (workaround for hidden typedefs)
Other Changes
- Added SPDX license information
- Improved reporting of HTTP status codes
- Source-code simplifications
- Buildsystem improvements
- Check intmax_t >= int64_t on Mac OS X
- Improved output when pkg-config is unavailable
- Implemented percentage output mode for piping
- Fixed typos
Translations
- Added Turkish Translation
- v2.17.10Version 2.17.102020-11-22 · 2020-11-22 20:38 UTC
查看更新说明
Bug fixes
- Potential
NULLpointer dereference - Fixed incrementig procedure for
delay_time - Fixed speed limiting
Other Changes
- Portability improvements
- Made the stop signal handler portable
- Build system improvements
- Now you can specify where OpenSSL is installed
- Fixed MinGW detection
- Further improved code portability
- Optimized wildcard search in URLs
- Added human-readable file size report at the begining of downloads
- Reworked Request Range support check
- Added "Accept-Encoding" header to requests
- Cleanup of Source Code
- Updated the documentation
- Fixed data type for sizes and offsets on 32-bit systems
- Fixed duplicated non-default port when using proxy
- Fixed request range comparison and overflow
Translations
- Fixed typos and warnings in Simplified Chinese translation
- Updates and fixes to:
- Dutch
- German
- Italian
- Portuguese
- Spanish
- Blind updates (review needed) to:
- Indonesian
- Japanese
- Russian
- Simplified Chinese
- Potential
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
AXEL - Lightweight CLI download accelerator
About
Axel tries to accelerate the download process by using multiple connections per file, and can also balance the load between different servers.
Axel tries to be as light as possible, so it might be useful on byte-critical systems.
Axel supports HTTP, HTTPS, FTP and FTPS protocols.
Thanks to the original developer of Axel, Wilmer van der Gaast, and everyone else who has contributed to it over the years.
Usage
For usage information, see the manual page:
man axel
How to help
If you can code and are interested in improving Axel, please read the CONTRIBUTING.md file; if you're looking for ideas check our open tickets.
Additionally, there is a
google group to
discuss and to coordinate development. You can also find other developers in the
#axel channel on Freenode.
The sustainability of the project mainly depends on developers dedicating time, so if you want to contribute but can't code, there's also the option to fund paid development time through:
- Ismael Luceno
Installing from binaries
Your operating system may contain a precompiled version of Axel, and if so you should probably use it. If the package is outdated please get in touch with the package maintainer or open a support ticket with your distro.
Building from source
WARNING: Building from the source code repository is recommended only when doing development, otherwise only use release tarballs.
Axel uses GNU autotools for it's buildsystem; instructions are provided in the INSTALL file. The basic actions for most users are:
./configure && make && make install
To build without SSL/TLS support, pass to configure the --without-ssl flag.
If you're working from the source code repository instead of a release tarball, you need to generate the buildsystem first with:
autoreconf -i
When working from a git repository the build system will detect that and will
add -Werror to the CFLAGS if supported; so if you're not doing development you
should probably consider passing --disable-Werror to configure in order to
prevent build failures due to mere warnings.
Dependencies
gettext(orgettext-tiny)pkg-config
Optional:
libssl(OpenSSL, LibreSSL or compatible) -- for SSL/TLS support.
Extra dependencies for building from snapshots
autoconf-archiveautoconfautomakeautopointtxt2man
Packages on Debian-based systems
build-essentialautoconfautoconf-archiveautomakeautopointgettextlibssl-devpkg-configtxt2man
Packages on Mac OS X (Homebrew)
autoconf-archiveautomakegettextopenssl
Building on Mac OS X (Homebrew)
You'll need to provide some extra options to autotools so it can find gettext and openssl.
GETTEXT=/usr/local/opt/gettext
OPENSSL=/usr/local/opt/openssl
PATH="$GETTEXT/bin:$PATH"
[ -x configure ] || autoreconf -fiv -I$GETTEXT/share/aclocal/
CFLAGS="-I$GETTEXT/include -I$OPENSSL/include" \
LDFLAGS=-L$GETTEXT/lib ./configure
You can just run make as usual after these steps.
Related projects
License
Axel is licensed under GPL-2+ with the OpenSSL exception.
