2

What is the difference between curl and aria2? This post describes it as download engines, but does not elaborate further. Also, how would I know which of them would be faster?

pritmit
  • 59

2 Answers2

4

They have a comparison table:

enter image description here

Source: curl - Comparison Table

Kulfy
  • 18,154
A T
  • 2,578
2

to quote https://daniel.haxx.se/blog/2019/07/22/curl-goez-parallel/

"No same file splitting This functionality makes curl do URLs in parallel. It will still not download the same URL using multiple parallel transfers the way some other tools do. That might be something to implement and offer in a future fine tuning of this feature."

As far as I know, curl never added "same file splitting" to accelerate downloads. This is omitted from the comparison table and is a key feature present in aria2. For example, you can use -x 5 for faster downloads, e.g.

$ aria2c -x 5 URL

where: -s N : use N connections to download (s for split), default 5 -x N : maximum number of connections per server for download, default 1

quoted from: http://tuxdiary.com/2013/08/16/axel-uget-linux-download-managers/

jjisnow
  • 121