Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

109.2. aria2-1.37.0

Download utility for HTTP(S), FTP, SFTP, BitTorrent and Metalink, with a JSON-RPC interface

1.37.0-1 · GPL-2.0-or-later · 3.1 SBU · 4.7 MiB, 4 files · 41_system, 977 of 1047 · ports/core/transfer/aria2

Homepage: https://aria2.github.io/

aria2 is a command-line download utility for HTTP(S), FTP, SFTP, BitTorrent and Metalink that splits one download over several connections. Its JSON-RPC interface is how kiwix-desktop downloads ZIM archives from the online catalogue: libkiwix starts aria2c as a child with RPC enabled and drives it.

Depends on: gnutls, libgcrypt, libxml2, sqlite, c-ares, libssh2, zlib, ca-certificates.

Required by (1): kiwix-desktop.

Sources: aria2-1.37.0.tar.xz (1.6 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install aria2'

build.sh:

./configure \
	--prefix=/usr \
	--disable-nls \
	--with-gnutls \
	--without-openssl \
	--without-libnettle \
	--without-libgmp \
	--with-libgcrypt \
	--with-libxml2 \
	--without-libexpat \
	--with-sqlite3 \
	--with-libcares \
	--with-libssh2 \
	--with-libz \
	--without-jemalloc \
	--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
	ARIA2_STATIC=no
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/share/doc"

Programs: aria2c.

Directories: /usr/share/licenses/aria2.