Publish: 2019-01-25 | Modify: 2019-01-25
aria2 is a lightweight command-line download utility that supports multiple protocols and sources. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent, and Metalink. aria2 can be operated using its built-in JSON-RPC and XML-RPC interfaces.
Compiling aria2 from the official source code requires a lot of dependencies and can be cumbersome to install. Fortunately, there are pre-compiled static builds of aria2 available on GitHub, which simplify the installation process and eliminate the need for various dependencies.
Download the latest version of aria2 based on your operating system from the following link: https://github.com/q3aql/aria2-static-builds/releases
# Extract the files
tar jxvf aria2-1.34.0-linux-gnu-[arch]-build1.tar.bz2
# Navigate to the directory
cd aria2-1.34.0-linux-gnu-[arch]-build1
# Install aria2
make install
After the installation is complete, you can use the aria2c -v
command to check the current version of aria2.
By following the above steps, you can easily install a newer version of aria2 without the need to install numerous dependencies. This method is very convenient. If you prefer a more automated installation process, you can use the ccaa script provided by xiaoz: One-click Installation of Caddy + Aria2 + AriaNg for Offline Downloads
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.