Fast Debian downloads

Command Line – Debian Scripts

© Lead Image © Kjetil Kolbjornrud, 123RF.com

© Lead Image © Kjetil Kolbjornrud, 123RF.com

Article from Issue 249/2021
Author(s):

By combining a few Debian scripts, you can increase your download speed by more than 50 percent. Bruce shows you how.

Over the years, a rich ecosystem of applications has grown around Debian package management. In fact, the available choices are so numerous that some are easy to overlook, especially since some scripts are not in the official repositories of any distribution. Finding compatible scripts can require a lot of searching, often resulting in frustration.

Setting out to maximize download speed, I found several layers of scripts or tools: netselect [1] to find the quickest mirrors for my location, aria2 [2] or Axel [3] to serve as download managers, and apt-fast [4] to make the other scripts' modifications easy to use by placing them in a single command. The procedure can take some time, but, considering that it can increase download speeds by more than 50 percent, the effort seems worthwhile.

Step One: Determine the Fastest Mirrors

In earlier versions of Ubuntu, you could have the fastest mirror selected for you by choosing Settings | Repositories | Download | Other | Best Server. However, this feature has been dropped in the past few years.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line – Aria2

    Downloading files is central to modern computing. Whether you use your browser's function or rely on more specialized tools, you won't find a more versatile utility than Aria2.

  • Sidux 2009-02: New Kernel and KDE 4.2

    The Sidux Linux distro now appears in version 2009-02 as based on Debian and with Kernel 2.6.30, KDE 4.2.4 and free sofware as usual.

  • Smart Package Manager

    The package manager is one of the central components on any Linux system. If you have a system with unreliable package management – such as Suse Linux 10.1 – you may want to consider the Smart alternative.

  • 4.0r5: Security Update for Debian 4.0 Etch

    Along with its ongoing work on Lenny, the Debian project is still attending to its version 4.0 called Etch. Its now fifth update includes bug fixes and security patches.

  • Debian Update Introduces Security, Bans Adobe Flash

    The update Debian 4.0 alias Etch to 4.03r sees the free project mainly add security patches and remove the Adobe Flash plugin from the official repository.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News