How To Install unbound on AlmaLinux 8
Introduction
In this tutorial we learn how to install unbound
on AlmaLinux 8.
What is unbound
Unbound is a validating, recursive, and caching DNS(SEC) resolver. The C implementation of Unbound is developed and maintained by NLnet Labs. It is based on ideas and algorithms taken from a java prototype developed by Verisign labs, Nominet, Kirei and ep.net. Unbound is designed as a set of modular components, so that also DNSSEC (secure DNS) validation and stub-resolvers (that do not run as a server, but are linked into an application) are easily possible.
We can use yum
or dnf
to install unbound
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install unbound.
Install unbound 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 unbound
using dnf
by running the following command:
sudo dnf -y install unbound
Install unbound 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 unbound
using yum
by running the following command:
sudo yum -y install unbound
How To Uninstall unbound on AlmaLinux 8
To uninstall only the unbound
package we can use the following command:
sudo dnf remove unbound
References
Summary
In this tutorial we learn how to install unbound
on AlmaLinux 8 using yum and dnf.