Downloading using aria2
Overview
aria2
is a command-line utility for downloading files from a torrent link. It is a fully featured BitTorrent Client. It supports downloading files using HTTP, HTTPS, FTP, BitTorrent, BitTorrent Magnet URI, Metalink and many other protocols. Since downloading torrents involves some safety concerns, this command line tool is not installed in the entire cluster. It is installed as a software module.
To find and load the aria2 module:
module avail aria2 # finding the correct full name of the module
module load aria2-1.36.0-gcc-12.1.0 # for Sol
module load aria2-1.36.0-6x # for Phoenix
Syntax
aria2c [options] [URL]
Basic Usage
To download a file using aria2c
, simply provide the URL of the file you want to download. Here's the basic command format:
aria2c [URL]
For example, to download a file from a torrent name “example.torrent”, run the following command:
To work with magnet URI:
For more use cases and detailed information, please visit https://aria2.github.io/
It can also be installed via mamba to a Python virtual environment https://anaconda.org/conda-forge/aria2
Additional Help