# Aria2 Pro Core
[![LICENSE](https://img.shields.io/github/license/P3TERX/Aria2-Pro-Core?style=flat-square)](https://github.com/P3TERX/Aria2-Pro-Core/blob/master/LICENSE)
![GitHub All Releases](https://img.shields.io/github/downloads/P3TERX/Aria2-Pro-Core/total?label=Downlaods&style=flat-square&color=red)
[![GitHub Stars](https://img.shields.io/github/stars/P3TERX/Aria2-Pro-Core.svg?style=flat-square&label=Stars&logo=github)](https://github.com/P3TERX/Aria2-Pro-Core/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/P3TERX/Aria2-Pro-Core.svg?style=flat-square&label=Forks&logo=github)](https://github.com/P3TERX/Aria2-Pro-Core/fork)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/P3TERX/Aria2-Pro-Core/Aria2%20Builder?label=Actions&logo=github&style=flat-square)
Aria2 static binaries for GNU/Linux with some powerful feature patches.
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/P3TERX/Aria2-Pro-Core?style=for-the-badge)](https://github.com/P3TERX/Aria2-Pro-Core/releases/latest)
## Changes
* option `max-connection-per-server`: change maximum value to `∞`
* option `min-split-size`: change minimum value to `1K`
* option `piece-length`: change minimum value to `1K`
* download: retry on slow speed (`lowest-speed-limit`) and connection close
* download: add option `retry-on-400` to retry on http 400 bad request, which only effective if `retry-wait` > 0
* download: add option `retry-on-403` to retry on http 403 forbidden, which only effective if `retry-wait` > 0
* download: add option `retry-on-406` to retry on http 406 not acceptable, which only effective if `retry-wait` > 0
* download: add option `retry-on-unknown` to retry on unknown status code, which only effective if `retry-wait` > 0
* http: add option `http-want-digest` to choose whether to send the generated `Want-Digest` HTTP header or not (Not send by default)
## Installing
### Automatic script
```shell
curl -fsSL git.io/aria2c.sh | bash
```
### Manual installation
```shell
wget https://github.com/P3TERX/Aria2-Pro-Core/releases/download/[version]/aria2-[version]-static-linux-[arch].tar.gz
tar zxvf aria2-[version]-static-linux-[arch].tar.gz
sudo mv aria2c /usr/local/bin
```
### Uninstall
```shell
sudo rm -f /usr/local/bin/aria2c
```
## Building
### with script
Download script, execute script.
> **TIPS:** In today's containerization of everything, this is not recommended.
```shell
git clone https://github.com/P3TERX/Aria2-Pro-Core
cd Aria2-Pro-Core
bash aria2-gnu-linux-build.sh
```
### with docker
> **TIPS:** Docker minimum version 19.03, you can also use [buildx](https://github.com/docker/buildx).
Build Aria2 for current architecture platforms.
```shell
DOCKER_BUILDKIT=1 docker build \
-o type=local,dest=. \
github.com/P3TERX/Aria2-Pro-Core
```
**`dest`** can define the output directory. If there are no changes, there will be an archive file in the current directory when the build is completed.
```
$ ls -l
-rw-r--r-- 1 p3terx p3terx 3744106 Jan 17 20:24 aria2-1.35.0-static-linux-amd64.tar.gz
```
Cross build Aria2 for other platforms, e.g.:
```
DOCKER_BUILDKIT=1 docker build \
--build-arg BUILDER_IMAGE=ubuntu:14.04 \
--build-arg BUILD_SCRIPT=aria2-gnu-linux-cross-build-armhf.sh \
-o type=local,dest=. \
github.com/P3TERX/Aria2-Pro-Core
```
> **`BUILDER_IMAGE`** variable defines the system image used for the build. In general, platforms other than `armhf` don't require it.
> **`BUILD_SCRIPT`** variable defines the script used for the cross build.
## External links
### Aria2
* [Aria2 homepage](https://aria2.github.io/)
* [Aria2 documentation](https://aria2.github.io/manual/en/html/)
* [Aria2 source code (Github)](https://github.com/aria2/aria2)
### Used external libraries
* [zlib](http://www.zlib.net/)
* [Expat](https://libexpat.github.io/)
* [c-ares](http://c-ares.haxx.se/)
* [SQLite](http://www.sqlite.org/)
* [OpenSSL](http://www.openssl.org/)
* [libssh2](http://www.libssh2.org/)
* [jemalloc](http://jemalloc.net/)
### Credits
* [q3aql/aria2-static-builds](https://github.com/q3aql/aria2-static-builds)
* [myfreeer/aria2-build-msys2](https://github.com/myfreeer/aria2-build-msys2)
## Licence
[![GPLv3](https://www.gnu.org/graphics/gplv3-127x51.png)](https://github.com/P3TERX/Aria2-Pro-Core/blob/master/LICENSE)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Aria2_static_binaries_for_GNULinux_with_some_powe_Aria2-Pro-Core.zip (22个子文件)
Aria2-Pro-Core-master
aria2-gnu-linux-cross-build-armhf.sh 2KB
.github
workflows
aria2-builer.yml 3KB
patch
0002-download-retry-on-slow-speed-and-reset.patch 2KB
0003-option-add-option-to-retry-on-http-4xx.patch 10KB
0004-option-add-option-to-disable-want-digest-header.patch 5KB
0001-options-unlock-connection-per-server-limit.patch 2KB
LICENSE 34KB
dependences 491B
aria2-gnu-linux-build-amd64.sh 2KB
Dockerfile 254B
snippet
aria2-bin 578B
clean 504B
cross-toolchain 809B
target-build 3KB
cross-build 3KB
target-toolchain 764B
aria2-code 1KB
aria2-gnu-linux-build.sh 2KB
aria2-install.sh 2KB
aria2-gnu-linux-cross-build-i386.sh 2KB
aria2-gnu-linux-cross-build-arm64.sh 2KB
README.md 4KB
共 22 条
- 1
资源评论
好家伙VCC
- 粉丝: 2327
- 资源: 9142
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Linux期末考试试题.doc
- C语言程序设计期末考试复习题及答案.doc
- C语言程序设计期末试题C.doc
- c语言程序设计期末试题含答案.doc
- plc课程设计洗衣机.docx
- 多元统计分析期末试题.doc
- 电商平台开发需求文档.doc
- 基于单片机的电子琴文献综述.doc
- 计算机专业综述.doc
- 多元统计分析期末试题及答案.doc
- 教务处管理系统需求规格说明书.doc
- 教务管理系统需求规格说明书作业.docx
- 某机械厂降压变电所的电气设计供配电课程设计.doc
- 全自动洗衣机PLC课程设计.doc
- MATLAB代码:基于蒙特卡洛算法的电动汽车充电负荷预测 关键词:蒙特卡洛 电动汽车 充电负荷预测 仿真平台:MATLAB 主要内容:代码主要做的是电动汽车的充电负荷模拟预测,具体为:从影响电
- UML课程设计报告.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功