Using Metalinks

Simplifying the download process

Download the whole article as PDF

Short URL: http://fsmsh.com/1779

Write a full post in response to this!


Downloads can be much faster, more efficient, and simplified by using Metalinks, a new system which automates segmented downloading and checksum verification.

What is Metalink?

Metalink is an XML format for downloads that lists mirrors, Peer-to-peer (P2P) links, and checksums. Metalink was designed to make typically advanced downloading features easier for everyone to use. Previously, gathering mirrors and manually adding them to download managers was time consuming and frustrating. Having access to more mirrors increases reliability, and speed, as multiple mirrors can be downloaded from at once. Using P2P lessens bandwidth costs for distributors such as OpenOffice.org and mirrors. Unfortunately, P2P can not be used in all situations because it is sometimes blocked (by offices, universities, and ISPs), so it is helpful to have regular mirrors to fall back on in these cases.

I have a cable internet connection with a max download speed of 800k a second. Most of my download speeds are around 200k/sec though. Why? One server is feeding many people, and that’s all it can serve up. But, it’s still pretty fast, and fine for most downloads. There’s not much difference with waiting 1 minute or 4 minutes. If you want to get something bigger though, you start to notice the difference. Instead of taking 14 minutes to download an ISO, it can take 2 hours or longer. You don’t really know how fast or reliable a server is until you start downloading from it.

Using a download manager, you can download a segment of each file from multiple servers at the same time. The segments are then added together when they have all finished. This lets you fully use your maximum download speed. (Download managers have other features like pausing and resuming downloads which are also helpful).

Take a look at this page (figure 1). Similar to many download pages, it lists a bunch of mirrors:

Figure 1: Arch Linux mirror list
Figure 1: Arch Linux mirror list

This lists the mirrors in general. A Metalink will point to a specific file(s) on all the mirrors. It can list priority and location of the mirrors, so it’s easy to download from many of them at once, along with P2P like BitTorrent, ed2k, and magnet links.

Metalinks can be found at http://www.metalinker.org and http://metalink.packages.ro/ as well as directly from OpenOffice.org, Arch Linux, PC-BSD, DesktopBSD, blag linux, StartCom Linux, Ubuntu Christian Edition, Berry Linux, redWall Firewall, and others.

Metalink Clients

What is wxDownload Fast?

wxDownload Fast is a multi-platform open source download manager (GUI), similar to other download managers and Metalink clients: GetRight on Windows and Speed Download on Mac OS X. wxDownload Fast is available on Windows and Linux. Like most download managers, it supports resuming and segmented downloading.

Figure 2: wxDownload Fast GUI Metalink client
Figure 2: wxDownload Fast GUI Metalink client

Installing and running wxDownload Fast

wxDownload Fast can be compiled from source. Binaries are available for Windows, Debian, and Ubuntu. wxDownload Fast can be integrated with Firefox via FlashGot.

Using wxDownload Fast: an example

If you use wxDownload Fast with FlashGot, you can just click on a Metalink. Otherwise, you will have to copy the link, click New in wxDownload Fast, and then click OK to start downloading. wxDownload Fast will automatically process the Metalink and start downloading from the mirrors. Once the download has finished, it will verify the checksum automatically. You can let wxDownload Fast handle all of your downloads, not just Metalinks, so it’s pretty useful.

Don't miss out on the other pages!
12next ›last »

Write a full post in response to this!

0

Do you like this post?
Vote for it!

Copyright information

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html.

Biography

Anthony L. Bryan:

Mauro Bieg's picture

simplicity...

Submitted by Mauro Bieg on Mon, 2007-02-12 15:29.

Vote!
0

Sound like a great technique, never heard of it before, thanks!

I hope it will soon be integrated into Firefox as default and by as many websites as possibel. Otherwise most of the users (the ones that need simplification most) won't be able to use Metalinks.

Anonymous visitor's picture

Firefox intergration

Submitted by Anonymous visitor on Tue, 2007-02-13 17:38.

Vote!
0

Most downloads can now be done with a Firefox plugin which will generate a Metalink through Metamirrors. You can just right-click on most download links (like Unbuntu.org's images) and then simply let that site generate a metalink for you. The only thing the publishers have to do is post the file's hash information on their mirrors.

Anthony L. Bryan's picture

aria2 binaries

Submitted by Anthony L. Bryan on Wed, 2007-02-21 03:02.

Vote!
0

aria2 is now available for Debian, Arch, Ubuntu Feisty, Fedora, and Gentoo. apt-get install aria2, yum install aria2, etc

Anonymous visitor's picture

That's a bad reason

Submitted by Anonymous visitor on Sun, 2007-02-25 18:50.

Vote!
0

If your country's official mirror gives you that crappy speed, that's a very bad mirror and you should change to a faster one! I never get under 1MB/s which is about my capacity at home. Most mirrors are at large companies and universitys with plenty bandwidth.

Downloading from one source is more efficient than downloading from many (less IP overhead, less fragmentation, less complex). Most large projects such as Fedora, Debian, Mozilla and OOo has very well connected mirrors. I think it is a better idea to kick the bad mirrors out instead of making these complex p2p things.

Anonymous visitor's picture

I cannot get Metalink -- please help!

Submitted by Anonymous visitor (not verified) on Wed, 2007-06-27 07:53.

Vote!
0

Hello!
I want to use METALINK with my GetRight and Flashgot (for Firefox) downloading -- BUT although I have followed Metalink instructions and downloaded THREE Metalink-related programs (Abiword, Elephant Dream, and Adobe8 Reader)I am hopelessly unable to get GETRIGHT/Flashgot to recognize or work with Metalink. Everything still just downloads the old way. In fact, although Abiword and Adobe8 were successfully downloaded, Metalink doesn't seem to have "accompanied" those programs.
Perhaps there is something in my GETRIGHT configuration which hinders the implementation of Metalink?? -- at any rate, I am too technically dumb to know what to do myself.

HELP, please!
Carolina



Two fantastic free software companies that make Free Software Magazine possible:

Other sites

Odiogo