Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 aria2

查看 aria2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aria2

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install aria2

MacPorts ports tree · net/aria2/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add aria2

Alpine Linux edge package indexes · aria2 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install aria2

Debian stable package indexes · aria2 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install aria2

Fedora Rawhide package metadata · aria2 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#aria2

nixpkgs package indexes · pkgs/by-name/ar/aria2/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S aria2

Arch Linux sync databases · aria2 · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install aria2

openSUSE Tumbleweed package metadata · aria2 · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install aria2

Chocolatey community package catalog · aria2 · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/aria2

Scoop official bucket manifest trees · bucket/aria2.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id aria2.aria2 -e

Windows Package Manager source index · aria2.aria2 · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Download with resuming and segmented downloading

命令和别名

  • aria2c

历史

项目历史与用法

aria2 is a command-line download utility whose upstream documentation emphasizes protocol breadth: HTTP(S), FTP, SFTP, BitTorrent, and Metalink, with segmented transfers and multi-source downloads. In package-manager culture it sits in the same mental drawer as wget, curl, transmission-cli, and rsync-adjacent fetch tooling, but its distinctive appeal is being a single small CLI that can resume, split, verify, and remote-control downloads.

项目历史

The project is maintained at github.com/aria2/aria2 and presents itself as an ultra-fast download utility. Its README and manual describe a mature 1.x project with a long-running monthly-minor release policy: minor releases are planned for the 15th of each month when there are changes, patch releases are reserved for security fixes, and the major version is intended to remain 1 for the time being.

aria2 grew around features that mattered to Unix download automation before every platform had polished GUI download managers: segmented HTTP/FTP transfers, BitTorrent support, Metalink checksums, proxy support, cookies, IPv6, daemon mode, and JSON-RPC/XML-RPC control. The manual also documents configuration-file and netrc support, making it practical as both an interactive downloader and a scripted service.

采用历史

The supplied package facts show aria2 packaged across many ecosystems, including Homebrew, Debian/Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, Chocolatey, Scoop, Winget, and zypper. That breadth matches the tool's niche: it is portable enough for developer laptops, CI machines, servers, and Windows package collections.

aria2 is widely useful to package nerds because it can be a download backend rather than only a user-facing command. Its support for parallel sources, resume files, proxies, checksum-oriented Metalink workflows, and RPC control made it attractive wherever a package script or download manager wants more than a simple one-shot HTTP fetch.

使用方式

The executable is aria2c. Typical use is direct CLI fetching, batch input files, BitTorrent/Metalink downloads, or running aria2 as a daemon controlled through RPC. The official manual documents ~/.aria2/aria2.conf and $XDG_CONFIG_HOME/aria2/aria2.conf as configuration paths, and ~/.netrc as the default netrc credential file.

Common package-manager usage is to install aria2 as a smarter downloader for large assets, flaky mirrors, torrents, or Metalink-enabled distributions. Because options can be placed in a config file, users can set split counts, proxy behavior, download directories, RPC settings, and authentication defaults without rewriting every command line.

为什么软件包爱好者会关心

aria2 matters because it compresses several downloader roles into one packageable CLI. It is small enough to be a dependency, scriptable enough for automation, and featureful enough to replace ad hoc combinations of curl, wget, torrent clients, and checksum wrappers in many workflows.

Its Metalink and segmented-transfer support are especially package-nerdy: mirrors, chunk checksums, resume state, and bandwidth utilization are the kinds of concerns that appear when downloading operating-system images, language toolchains, release archives, and large binary artifacts.

时间线

  • 2015: Official GitHub release entries show active 1.x releases such as release-1.19.x.
  • 2016-2017: Official release entries show a regular 1.x cadence through releases such as 1.20.0 through 1.33.1.
  • 2026: The current README still documents the 1.x versioning policy and the official manual remains the primary user documentation.

Related projects

  • Related tools include curl and wget for HTTP-style fetching, BitTorrent clients for swarm downloads, Metalink-aware distribution download workflows, and RPC-controlled download managers.
  • aria2 also overlaps with package-manager fetch backends because it can resume, split, proxy, authenticate, and validate downloads from one CLI.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:download

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.aria2/aria2.conf$XDG_CONFIG_HOME/aria2/aria2.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.netrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aria2ccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.37.0
管理器更新时间2026-04-19
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/aria2/aria2

安装元数据

软件包元数据

软件包键brew:aria2
版本1.37.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/aria2
主页https://aria2.github.io/
仓库https://github.com/aria2/aria2
上游文档https://aria2.github.io/manual/en/html/aria2c.html
许可证GPL-2.0-or-later
源码归档https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz
最后更新2026-04-19T14:09:07Z
Pulseupdated
依赖c-ares, gettext, libssh2, openssl@3, sqlite
构建依赖pkgconf
macOS 提供的库libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namearia2
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

aria2 1.37.0+debian-3

High speed download utility

https://aria2.github.io/

sudo apt install aria2
  • Section: net
  • Architecture: amd64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Aria2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: aria2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libaria2-0 1.37.0+debian-3

C++ library interface to aria2

https://aria2.github.io/

sudo apt install libaria2-0
  • Section: libs
  • Architecture: amd64
  • Source Package: aria2
  • 11 依赖
  • normalized package name match
  • 匹配方式:Aria2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libaria2-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libaria2-0-dev 1.37.0+debian-3

High speed download utility (Development files)

https://aria2.github.io/

sudo apt install libaria2-0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: aria2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aria2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libaria2-0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

aria2

nix profile install nixpkgs#aria2
  • normalized package name match
  • 匹配方式:Aria2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ar/aria2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

aria2 1.37.0+debian-1build3

High speed download utility

https://aria2.github.io/

sudo apt install aria2
  • Section: universe/net
  • Architecture: amd64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Aria2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: aria2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libaria2-0 1.37.0+debian-1build3

C++ library interface to aria2

https://aria2.github.io/

sudo apt install libaria2-0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: aria2
  • 11 依赖
  • normalized package name match
  • 匹配方式:Aria2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libaria2-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libaria2-0-dev 1.37.0+debian-1build3

High speed download utility (Development files)

https://aria2.github.io/

sudo apt install libaria2-0-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: aria2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aria2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libaria2-0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

aria2 1.37.0-r2

Download utility for HTTP(S), (S)FTP, Bittorrent, and Metalink

https://aria2.github.io/

sudo apk add aria2
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: aria2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Aria2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aria2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

aria2-bash-completion 1.37.0-r2

Bash completions for aria2

https://aria2.github.io/

sudo apk add aria2-bash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: aria2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aria2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aria2-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

aria2-daemon 1.37.0-r2

Support for running Aria2 as a daemon using OpenRC

https://aria2.github.io/

sudo apk add aria2-daemon
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: aria2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aria2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aria2-daemon from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

aria2-dbg 1.37.0-r2

Download utility for HTTP(S), (S)FTP, Bittorrent, and Metalink (debug symbols)

https://aria2.github.io/

sudo apk add aria2-dbg
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: aria2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aria2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aria2-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

aria2-doc 1.37.0-r2

Download utility for HTTP(S), (S)FTP, Bittorrent, and Metalink (documentation)

https://aria2.github.io/

sudo apk add aria2-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: aria2
  • normalized package name match
  • 匹配方式:Aria2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aria2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

aria2 1.37.0-9.fc44

High speed download utility with resuming and segmented downloading

http://aria2.github.io/

sudo dnf install aria2
  • License: LicenseRef-Callaway-GPLv2+-with-exceptions
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: aria2
  • 12 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Aria2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: aria2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

aria2 1.37.0-3

Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink

https://aria2.github.io

sudo pacman -S aria2
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Aria2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: aria2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

aria2 1.37.0-1.9

Parallelizing Multi-Protocol Utility for Downloading Files

https://aria2.github.io

sudo zypper install aria2
  • License: SUSE-GPL-2.0-with-openssl-exception
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: aria2
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Aria2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: aria2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

aria2-devel 1.37.0-1.9

Development files for aria2

https://aria2.github.io

sudo zypper install aria2-devel
  • License: SUSE-GPL-2.0-with-openssl-exception
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: aria2
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Aria2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: aria2-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment