Downloading from multiple sources with aria2

Internet

Of course, the fine FreeBSD folks released 10.0 while our internet has ceased to exist, or pushing up daisies, as it were. Stuck with the spotty internet of our local café and public library, I needed to find a way to download this latest release. Yes, needed is the appropriate operative word, thank you very much.

The solution came in the form of aria2, which is conveniently available via Homebrew and for FreeBSD. As well as being able to resume downloads with the same command you used to start the initial download, you can supply multiple sources:

% aria2c http://tabasco/freebsd10.iso 
http://tomato/freebsd10.iso

http://barbecue/freebsd10.iso
  ftp://soy/freebsd10.iso

Using this, I was able to roughly double my download speed, and even resume the download when Clara and I moved from the library to coffee shop. Very nice!

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!