How To Install libdnet-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libdnet-devel
on Rocky Linux 8.
What is libdnet-devel
Header files for libdnet library.
We can use yum
or dnf
to install libdnet-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libdnet-devel.
Install libdnet-devel 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 libdnet-devel
using dnf
by running the following command:
sudo dnf -y install libdnet-devel
Install libdnet-devel 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 libdnet-devel
using yum
by running the following command:
sudo yum -y install libdnet-devel
How To Uninstall libdnet-devel on Rocky Linux 8
To uninstall only the libdnet-devel
package we can use the following command:
sudo dnf remove libdnet-devel
libdnet-devel Package Contents on Rocky Linux 8
/usr/bin/dnet-config
/usr/include/dnet
/usr/include/dnet.h
/usr/include/dnet/addr.h
/usr/include/dnet/arp.h
/usr/include/dnet/blob.h
/usr/include/dnet/eth.h
/usr/include/dnet/fw.h
/usr/include/dnet/icmp.h
/usr/include/dnet/intf.h
/usr/include/dnet/ip.h
/usr/include/dnet/ip6.h
/usr/include/dnet/os.h
/usr/include/dnet/rand.h
/usr/include/dnet/route.h
/usr/include/dnet/tcp.h
/usr/include/dnet/tun.h
/usr/include/dnet/udp.h
/usr/lib/libdnet.so
/usr/share/man/man3/dnet.3.gz
/usr/bin/dnet-config
/usr/include/dnet
/usr/include/dnet.h
/usr/include/dnet/addr.h
/usr/include/dnet/arp.h
/usr/include/dnet/blob.h
/usr/include/dnet/eth.h
/usr/include/dnet/fw.h
/usr/include/dnet/icmp.h
/usr/include/dnet/intf.h
/usr/include/dnet/ip.h
/usr/include/dnet/ip6.h
/usr/include/dnet/os.h
/usr/include/dnet/rand.h
/usr/include/dnet/route.h
/usr/include/dnet/tcp.h
/usr/include/dnet/tun.h
/usr/include/dnet/udp.h
/usr/lib64/libdnet.so
/usr/share/man/man3/dnet.3.gz
References
Summary
In this tutorial we learn how to install libdnet-devel
on Rocky Linux 8 using yum and dnf.