Linux 如何多线程下载

aria2 多线程下载

aria2 是最常用的多连接下载工具。

安装

1
sudo apt install aria2

下载(16线程)

text
1
aria2c -x 16 -s 16 https://downloads.cs.stanford.edu/nlp/data/gqa/images.zip

参数解释:

  • -x 16 :最大16个连接
  • -s 16 :分成16段下载
  • -k 1M :每段 1MB

使用代理的话直接设置 http_proxy 和 https_proxy 环境变量即可


Linux 如何多线程下载
https://d4wnnn.github.io/2026/03/08/Notion/Linux 如何多线程下载/
作者
D4wn
发布于
2026年3月8日
许可协议