How To Install avahi-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install avahi-libs
on Rocky Linux 8.
What is avahi-libs
The avahi-libs package contains the libraries needed to run programs that use avahi.
We can use yum
or dnf
to install avahi-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install avahi-libs.
Install avahi-libs 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 avahi-libs
using dnf
by running the following command:
sudo dnf -y install avahi-libs
Install avahi-libs 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 avahi-libs
using yum
by running the following command:
sudo yum -y install avahi-libs
How To Uninstall avahi-libs on Rocky Linux 8
To uninstall only the avahi-libs
package we can use the following command:
sudo dnf remove avahi-libs
avahi-libs Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/da2452a97042ba70eb33772a0c85e378c03e50
/usr/lib/.build-id/51
/usr/lib/.build-id/51/bc8205d21e5ec765bdfc7c4ec94bc8db2aa01c
/usr/lib/libavahi-client.so.3
/usr/lib/libavahi-client.so.3.2.9
/usr/lib/libavahi-common.so.3
/usr/lib/libavahi-common.so.3.5.3
/usr/share/doc/avahi-libs
/usr/share/doc/avahi-libs/README
/usr/share/licenses/avahi-libs
/usr/share/licenses/avahi-libs/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/6e65a16a316d823f959be303986c1bc840737b
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/89da2ae52eb8108a0466da66210edbeebe7b39
/usr/lib64/libavahi-client.so.3
/usr/lib64/libavahi-client.so.3.2.9
/usr/lib64/libavahi-common.so.3
/usr/lib64/libavahi-common.so.3.5.3
/usr/share/doc/avahi-libs
/usr/share/doc/avahi-libs/README
/usr/share/licenses/avahi-libs
/usr/share/licenses/avahi-libs/LICENSE
References
Summary
In this tutorial we learn how to install avahi-libs
on Rocky Linux 8 using yum and dnf.