1. Install aria2
Aria2 is currently included in many Linux distributions, so you can install it directly through the system you use. For example, in Debian/Ubuntu, you can run the following command on the terminal to install aria2:
Ubuntu install:
Sudo apt-Get install aria2
Fredora install command:
Yum install aria2
2. How to Use aria2
Aria2 is a command lineProgram, Easy to use.
- Generally, you only need to append an address after the command to download an object using aria2. For example, we download Ubuntu as follows:
Aria2c http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso
- Multipart download uses the multipart download feature of aria2 to speed up object download, which is particularly useful for downloading large objects. To use the multipart download function of aria2, you must specify the s option in the command. For example:
Aria2c-S 2 http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso
This will use two connections to download the file. The parameter value after S is between 1 ~ 5, you can choose according to the actual situation.
- You can use the C option in the command to resume resumable upload. For example:
Aria2c-C http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso
- You can also use aria2 to download BitTorrent files. For example:
Aria2c-O Gutsy. torrent http://cdimage.ubuntu.com/daily-live/current/gutsy-desktop-i386.iso.torrent
For more information about aria2, see man aria2c.