Blog post

One of my favorite download utilities operated in command line in linux systems is aria2. Aria2 has advanced features with support for multi-chunks, multi-servers and torrents. I have been using it quite often especially for torrent downloading. To install aria2 in the Ubuntu system execute as root:

# apt-get install aria2

Aria2 can be combined with WebUI-Aria2, a web interface to manage your aria2 instance. WebUI-Aria2 is very simple to install and you will be able to add files, magnet links or torrents to download right from your web browser. Assuming that you are still in root and Apache2 server is running execute the following:

Download webui-aria2 using git in the /var/www directory

# cd /var/www 
# git clone

If you navigate with your browser to the corresponding url of webui-aria2 folder on your server, you will see the following info message:

Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings

This is because you will need to launch aria2 as a background service to listen to incoming connections. In order to avoid anyone else using your aria2 instance, your can generate a random token as follows:

openssl rand -base64 32

Run aria2 as a daemon

After that you need to run aria2 as a daemon.

# aria2c --enable-rpc --rpc-listen-all --daemon

For further configuration and parameterization check also the Aria2 Documentation.