How To Install ldns on Rocky Linux 8
Introduction
In this tutorial we learn how to install ldns
on Rocky Linux 8.
What is ldns
ldns is a library with the aim to simplify DNS programming in C. All low-level DNS/DNSSEC operations are supported. We also define a higher level API which allows a programmer to (for instance) create or sign packets.
We can use yum
or dnf
to install ldns
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ldns.
Install ldns on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ldns
using dnf
by running the following command:
sudo dnf -y install ldns
Install ldns on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ldns
using yum
by running the following command:
sudo yum -y install ldns
How To Uninstall ldns on Rocky Linux 8
To uninstall only the ldns
package we can use the following command:
sudo dnf remove ldns
ldns Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/bc397dc53b545e2b6dffb9b0d9fa371a605a5a
/usr/lib64/libldns.so.2
/usr/lib64/libldns.so.2.0.0
/usr/share/doc/ldns
/usr/share/doc/ldns/README
/usr/share/licenses/ldns
/usr/share/licenses/ldns/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/829520e0568714c0ea4ed7c320214881c6fcf3
/usr/lib/libldns.so.2
/usr/lib/libldns.so.2.0.0
/usr/share/doc/ldns
/usr/share/doc/ldns/README
/usr/share/licenses/ldns
/usr/share/licenses/ldns/LICENSE
References
Summary
In this tutorial we learn how to install ldns
on Rocky Linux 8 using yum and dnf.