commands.sh

netselect-apt

linux

Create a `sources.list` file for a Debian mirror with the lowest latency.

More info →

Options (2)

-n, --non-freeboolean

Include non-free section

Example: sudo netselect-apt {{[-n|--non-free]}}
-c, --countryboolean

Specify a country for the mirror list lookup

Example: sudo netselect-apt {{[-c|--country]}} {{India}}

Examples (4)

Create `sources.list` using the lowest latency server

Specify Debian branch, stable is used by default

Include non-free section

sudo netselect-apt [-n|--non-free]

Specify a country for the mirror list lookup

sudo netselect-apt [-c|--country] India
made by @shridhargupta | data from tldr-pages