How To Install libdnet on Fedora 34

libdnet is Simple portable interface to lowlevel networking routines Simple portable interface to lowlevel networking routines

Introduction

In this tutorial we learn how to install libdnet on Fedora 34.

What is libdnet

libdnet provides a simplified, portable interface to several low-level networking routines, including network address manipulation, kernel arp(4) cache and route(4) table lookup and manipulation, network firewalling (IP filter, ipfw, ipchains, pf, …), network interface lookup and manipulation, raw IP packet and Ethernet frame, and data transmission. libdnet 1.14 2.fc34 x86_64 39 k libdnet-1.14-2.fc34.src.rpm fedora Simple portable interface to lowlevel networking routines https BSD libdnet provides a simplified, portable interface to several low-level networking routines, including network address manipulation, kernel arp(4) cache and route(4) table lookup and manipulation, network firewalling (IP filter, ipfw, ipchains, pf, …), network interface lookup and manipulation, raw IP packet and Ethernet frame, and data transmission.

We can use yum or dnf to install libdnet on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdnet.

Install libdnet 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 libdnet using dnf by running the following command:

sudo dnf -y install libdnet

Install libdnet 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 libdnet using yum by running the following command:

sudo yum -y install libdnet

How To Uninstall libdnet on Fedora 34

To uninstall only the libdnet package we can use the following command:

sudo dnf remove libdnet

libdnet Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/e458768920e97cdda2ece0eca2d37b6ff81efe
/usr/lib/libdnet.so.1
/usr/lib/libdnet.so.1.0.1
/usr/share/doc/libdnet
/usr/share/doc/libdnet/THANKS
/usr/share/doc/libdnet/TODO
/usr/share/licenses/libdnet
/usr/share/licenses/libdnet/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/853bff3310eea16d375d0591fcd2b785b659b5
/usr/lib64/libdnet.so.1
/usr/lib64/libdnet.so.1.0.1
/usr/share/doc/libdnet
/usr/share/doc/libdnet/THANKS
/usr/share/doc/libdnet/TODO
/usr/share/licenses/libdnet
/usr/share/licenses/libdnet/LICENSE

References

Summary

In this tutorial we learn how to install libdnet on Fedora 34 using yum and dnf.