How to Find and Select the Fastest Mirror on Debian Linux Operating Systems

For Debian Sid / Wheezy / Squeeze, netselect-apt is a tool that finds out which is the nearest debian mirror and creates a sources.list file in your home directory ($HOME), that you can use to replace the /etc/apt/sources.list file.

The netselect-apt tools is available for Debian only, I have tried to install it on Ubuntu, but with no success.

So, this is how you install netselect-apt on Debian Systems:

$ sudo apt-get install netselect-apt

Find the fastest mirror:

$ netselect-apt

Use the fastest mirror:

$ sudo mv /etc/apt/sources.list{,.bak}
$ sudo cp ~/sources.list /etc/apt/sources.list



netselect-apt downloads a list of all mirrors from the Debian website. Then checks which server is nearer to your server. And finally it creates a sources.list file in your current directory.

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!