How To Install bind-utils on AlmaLinux 8

In this tutorial we learn how to install bind-utils in AlmaLinux 8. bind-utils is Utilities for querying DNS name servers

Introduction

In this tutorial we learn how to install bind-utils on AlmaLinux 8.

What is bind-utils

Bind-utils contains a collection of utilities for querying DNS (Domain Name System) name servers to find out information about Internet hosts. These tools will provide you with the IP addresses for given host names, as well as other information about registered domains and network addresses. You should install bind-utils if you need to get information from DNS name servers.

We can use yum or dnf to install bind-utils on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bind-utils.

Install bind-utils on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install bind-utils using dnf by running the following command:

sudo dnf -y install bind-utils

Install bind-utils on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bind-utils using yum by running the following command:

sudo yum -y install bind-utils

How To Uninstall bind-utils on AlmaLinux 8

To uninstall only the bind-utils package we can use the following command:

sudo dnf remove bind-utils

References

Summary

In this tutorial we learn how to install bind-utils on AlmaLinux 8 using yum and dnf.