Files
oam/knowledge base/netselect-apt.md
2023-07-09 20:48:18 +02:00

1.1 KiB

netselect-apt

Creates sources.list files for the fastest Debian mirrors.

It:

  1. downloads the list of Debian mirrors from http://www.debian.org/mirror/mirrors_full using wget;
  2. chooses the fastest servers using netselect;
  3. tests the valid servers using curl if available.

The output file is written to OUTFILE.

Table of contents

  1. TL;DR
  2. Further readings
  3. Sources

TL;DR

sudo netselect-apt --arch 'amd64' --country 'de' --outfile '/tmp/sources.list'
sudo netselect-apt --nonfree
sudo netselect-apt -nc 'nl'

Further readings

Sources

All the references in the further readings section, plus the following: