Aria 2 Download Manager

We can say that it is used to download practically any content that is on the network. For example we can download files Torrent, HTTP, FTP It works in a simple way. Keep in mind that Aria2 works through the operating system command line. However, we can always install a graphic download manager. How to use Aria2 on Linux. Aria2 Web UI in pure HTML/CSS/Javascirpt. (Modified from YAAW2 for Chrome).

I used to download the large files with wget because I can simplyresume the download tasks with -c option. This option will checkthe size of the output file, and download the rest of the file from the server.I can even restart the download task with a different URI. This featureis not available in many sophisticated download managers.

Recently, I came across Aria2, which is a command line download managerwhich supports lots of protocols, including HTTP, FTP, BitTorrents, and etc.Similar to wget, I can resume the download tasks without problems! Andthere are several features which are not available in wget:

  • Multiple tasks and scheduling
  • Split the download task and download the file in parallel
  • Web UI
  • ... and etc

In this post, I would like to give a brief introduction to Aria2.

Installation

Before we can start our discussion, we have to install Aria2 first.

To install Aria2 on Ubuntu (or Debian), run the following command:

Besides, check the file permission of your .netrc file. It should be600, i.e. only the owner can read or write the file. You can change thefile permission with following command:

Download Files with Aria2

Aria2 is similar to wget command line tool. We can simply downloadthe files with aria2c command:

Download

For example, to download the Debian 7.8 minimal CD image:

We can specify the output file name with -o option:

To resume a download task, we can specify the -c option:

If we wish to download a file parallelly, we can try the -x option:

Run Aria2 as a Daemon

If we wish to use Aria2 as a download manager, we should run Aria2 as adaemon.

To start the Aria2 daemon:

By default, Aria2 will perform 5 tasks at the same time, to change thenumber of concurrent download tasks, we can specify the -j option:

For example, to download the files sequentially:

After starting the Aria2 daemon, click here for the Aria2 Web UI. You canadd/remove the download tasks in the Aria2 Web UI.

Control Daemon with aria2rpc

Aria2 provides a command line tool, aria2rpc, to control the daemon.However, it is not installed by default.

To obtain aria2rpc, run the following command:

After these steps, move aria2rpc to your $PATH, so that wecan run aria2rpc directly.

Now, we can add a download task with:

Aria 2 Download Manager Free

After adding a download task, an ID will be printed. We can remove a taskwith:

Aria 2 Download Manager

You may find more usages with: