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 – Nala

    The latest iteration of Debian's package manager makes it easier to manage packages from the command line with more readable feedback, parallel downloads, the ability to find the fastest mirrors, and an updated history list.

  • Nala

    The Nala front end for Debian's Apt package manager combines the reliability of the Apt tools with easier to read output and speedier downloads.

  • 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.

  • Evolutionary Tale

    Over the past 30 years, the apt family has played an important role in dependency resolution for Debian distros.

  • 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.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News