2020-08-19 11:47:06 +00:00
|
|
|
# netselect-apt
|
|
|
|
|
|
|
|
> Create a `sources.list` file for a Debian mirror with the lowest latency.
|
2024-09-18 11:00:49 +02:00
|
|
|
> More information: <https://manned.org/netselect-apt>.
|
2020-08-19 11:47:06 +00:00
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`sudo netselect-apt {{[-n|--non-free]}}`
|
2020-08-19 11:47:06 +00:00
|
|
|
|
|
|
|
- Specify a country for the mirror list lookup:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`sudo netselect-apt {{[-c|--country]}} {{India}}`
|