
Introduction
In this tutorial we learn how to install bind9-utils
on Ubuntu 20.04.
What is bind9-utils
bind9-utils is:
This package provides various utilities that are useful for maintaining a
working BIND 9 installation.
Task: dns-server
Package: bind9-utils
Architecture: amd64
Version: 1:9.16.1-0ubuntu2
Priority: optional
Section: net
Source: bind9
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Debian DNS Team [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 744
Provides: bind9utils
Depends: python3-ply, python3:any, bind9-libs (>= 1:9.16.1), libc6 (>= 2.14), libssl1.1 (>= 1.1.0)
Breaks: bind-utils (« 1:9.13.6~), bind9utils (« 1:9.12.0~)
Replaces: bind-utils (« 1:9.13.6~), bind9utils (« 1:9.12.0~)
Filename: pool/main/b/bind9/bind9-utils_9.16.1-0ubuntu2_amd64.deb
Size: 172116
MD5sum: 81269cfee7414463873955b6dcafe2fc
SHA1: 59d484253ebae976e357c9e598ebb043a155a0b9
SHA256: 7860b40105ef73cc8394bdfe7e8da42fe6b5b07d52a246d55f6667760b230c4b
Homepage: https://www.isc.org/downloads/bind/
Description-en: Utilities for BIND 9
This package provides various utilities that are useful for maintaining a
working BIND 9 installation.
Task: dns-server
There are three methods to install bind9-utils
on Ubuntu 20.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 bind9-utils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install bind9-utils
using apt-get
by running the following command:
sudo apt-get -y install bind9-utils
Install bind9-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install bind9-utils
using apt
by running the following command:
sudo apt -y install bind9-utils
Install bind9-utils 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 bind9-utils
using aptitude
by running the following command:
sudo aptitude -y install bind9-utils
How To Uninstall bind9-utils on Ubuntu 20.04
To uninstall only the bind9-utils
package we can use the following command:
sudo apt-get remove bind9-utils
Uninstall bind9-utils And Its Dependencies
To uninstall bind9-utils
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove bind9-utils
Remove bind9-utils Configurations and Data
To remove bind9-utils
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge bind9-utils
Remove bind9-utils configuration, data, and all of its dependencies
We can use the following command to remove bind9-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge bind9-utils
References
Summary
In this tutorial we learn how to install bind9-utils
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.
