HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

netselect-apt — Create a `sources.list` file for a Debian mirror with the lowest latency. More information: <https:/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandclinetselect-aptfilesourcesforlist
linux

Problem

How to use the netselect-apt command: Create a sources.list file for a Debian mirror with the lowest latency. More information: <https://manned.org/netselect-apt>.

Solution

netselect-apt — Create a sources.list file for a Debian mirror with the lowest latency. More information: <https://manned.org/netselect-apt>.

Create sources.list using the lowest latency server:
sudo netselect-apt


Specify Debian branch, stable is used by default:
sudo netselect-apt {{testing}}


Include non-free section:
sudo netselect-apt {{[-n|--non-free]}}


Specify a country for the mirror list lookup:
sudo netselect-apt {{[-c|--country]}} {{India}}

Code Snippets

Create `sources.list` using the lowest latency server

sudo netselect-apt

Specify Debian branch, stable is used by default

sudo netselect-apt {{testing}}

Include non-free section

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

Specify a country for the mirror list lookup

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

Context

tldr-pages: linux/netselect-apt

Revisions (0)

No revisions yet.