How To Install ldns on Fedora 34
Introduction
In this tutorial we learn how to install ldns
on Fedora 34.
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. ldns 1.7.1 4.fc34 x86_64 160 k ldns-1.7.1-4.fc34.src.rpm updates Low-level DNS(SEC) library with API https BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ldns.
Install ldns on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install ldns
using dnf
by running the following command:
sudo dnf -y install ldns
Install ldns on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the ldns
package we can use the following command:
sudo dnf remove ldns
ldns Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/a591126d2944870b67e582339b3f64426daf28
/usr/lib/libldns.so.3
/usr/lib/libldns.so.3.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/81
/usr/lib/.build-id/81/0f3e8047c55264353cf560fb027af6dd1e6709
/usr/lib64/libldns.so.3
/usr/lib64/libldns.so.3.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/d4
/usr/lib/.build-id/d4/aede53004c21b4cb3f18d5b25c21a9f149da1f
/usr/lib64/libldns.so.3
/usr/lib64/libldns.so.3.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/e9
/usr/lib/.build-id/e9/21284a056272b489686790db37094592db6503
/usr/lib/libldns.so.3
/usr/lib/libldns.so.3.0.0
/usr/share/doc/ldns
/usr/share/doc/ldns/README
/usr/share/licenses/ldns
/usr/share/licenses/ldns/LICENSE
References
- [ldns website](https://www.nlnetlabs.nl/ldns/ https://www.nlnetlabs.nl/ldns/)
Summary
In this tutorial we learn how to install ldns
on Fedora 34 using yum and dnf.