How To Install netselect-apt on Debian 10

Learn how to install netselect-apt on Debian 10 with this tutorial. netselect-apt is speed tester for choosing a fast Debian mirror

Introduction

In this tutorial we learn how to install netselect-apt on Debian 10.

What is netselect-apt

netselect-apt is:

This package provides a utility that can choose the best Debian mirror by downloading the full mirror list and using netselect to find the fastest/closest one.

It can output a sources.list(5) file that can be used with package management tools such as apt or aptitude.

There are three methods to install netselect-apt on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install netselect-apt Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install netselect-apt using apt-get by running the following command:

sudo apt-get -y install netselect-apt

Install netselect-apt Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install netselect-apt using apt by running the following command:

sudo apt -y install netselect-apt

Install netselect-apt Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install netselect-apt using aptitude by running the following command:

sudo aptitude -y install netselect-apt

How To Uninstall netselect-apt on Debian 10

To uninstall only the netselect-apt package we can use the following command:

sudo apt-get remove netselect-apt

Uninstall netselect-apt And Its Dependencies

To uninstall netselect-apt and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove netselect-apt

Remove netselect-apt Configurations and Data

To remove netselect-apt configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge netselect-apt

Remove netselect-apt configuration, data, and all of its dependencies

We can use the following command to remove netselect-apt configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge netselect-apt

Dependencies

netselect-apt have the following dependencies:

References

Summary

In this tutorial we learn how to install netselect-apt package on Debian 10 using different package management tools: apt, apt-get and aptitude.