2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo netselect-apt {{[-n|--non-free]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify a country for the mirror list lookup:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo netselect-apt {{[-c|--country]}} {{India}}`
|