How To Install namebench on Ubuntu 18.04

In this tutorial we learn how to install namebench on Ubuntu 18.04. namebench is DNS benchmark utility

Introduction

In this tutorial we learn how to install namebench on Ubuntu 18.04.

What is namebench

namebench is:

Searches the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation. namebench is completely free and does not modify your system in any way.

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

Install namebench Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install namebench

Install namebench Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install namebench

Install namebench 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install namebench

How To Uninstall namebench on Ubuntu 18.04

To uninstall only the namebench package we can use the following command:

sudo apt-get remove namebench

Uninstall namebench And Its Dependencies

To uninstall namebench and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove namebench

Remove namebench Configurations and Data

To remove namebench configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge namebench

Remove namebench configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge namebench

References

Summary

In this tutorial we learn how to install namebench package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.