How To Install libmicrodns on Rocky Linux 8

In this tutorial we learn how to install libmicrodns on Rocky Linux 8. libmicrodns is Minimal mDNS resolver library

Introduction

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

What is libmicrodns

Minimal mDNS resolver (and announcer) library.

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

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

sudo dnf -y install libmicrodns

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

sudo yum -y install libmicrodns

How To Uninstall libmicrodns on Rocky Linux 8

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

sudo dnf remove libmicrodns

libmicrodns Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/43ab6ab090a20b93c88f0c6fec89b7d62434bf
/usr/lib64/libmicrodns.so.0
/usr/lib64/libmicrodns.so.0.1.0
/usr/share/doc/libmicrodns
/usr/share/doc/libmicrodns/AUTHORS
/usr/share/doc/libmicrodns/NEWS
/usr/share/doc/libmicrodns/README.md
/usr/share/licenses/libmicrodns
/usr/share/licenses/libmicrodns/COPYING

References

Summary

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