How To Install libndp on Rocky Linux 8

In this tutorial we learn how to install libndp on Rocky Linux 8. libndp is Library for Neighbor Discovery Protocol

Introduction

In this tutorial we learn how to install libndp on Rocky Linux 8.

What is libndp

This package contains a library which provides a wrapper for IPv6 Neighbor Discovery Protocol. It also provides a tool named ndptool for sending and receiving NDP messages.

We can use yum or dnf to install libndp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libndp.

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

sudo dnf -y install libndp

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

sudo yum -y install libndp

How To Uninstall libndp on Rocky Linux 8

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

sudo dnf remove libndp

libndp Package Contents on Rocky Linux 8

/usr/bin/ndptool
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/4ce069081a93fa56683a44a56ae21e9796c43a
/usr/lib/.build-id/29
/usr/lib/.build-id/29/ff9b1e5d12185869d6484294783ec4adf8cc07
/usr/lib/libndp.so.0
/usr/lib/libndp.so.0.1.1
/usr/share/doc/libndp
/usr/share/doc/libndp/COPYING
/usr/share/man/man8/ndptool.8.gz
/usr/bin/ndptool
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/c4798d841723a3598a6c9fd6750be636213a01
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/39161a68331c7ba1a5ec3d2946bd703705bf5b
/usr/lib64/libndp.so.0
/usr/lib64/libndp.so.0.1.1
/usr/share/doc/libndp
/usr/share/doc/libndp/COPYING
/usr/share/man/man8/ndptool.8.gz

References

Summary

In this tutorial we learn how to install libndp on Rocky Linux 8 using yum and dnf.