mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 19:42:07 +00:00
26 lines
579 B
Plaintext
26 lines
579 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|