Install and use the aria2 download tool (Ubuntu, fredora)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.