How To Install avahi-libs on CentOS 8
Introduction
In this tutorial we learn how to install avahi-libs
on CentOS 8.
What is avahi-libs
The avahi-libs package contains the libraries needed to run programs that use avahi. avahi-libs 0.7 20.el8 x86_64 62 k avahi-0.7-20.el8.src.rpm baseos Libraries for avahi run-time use http LGPLv2+ 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the avahi-libs
package we can use the following command:
sudo dnf remove avahi-libs
avahi-libs Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/c2e4e4a5fc1a1a631064903790a721a46cdf2c
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/f13eb23acedd822204d1215e832f0fd38fe417
/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/aa
/usr/lib/.build-id/aa/133c11d933076aeb7ccd8c59ae57a752f93375
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/ff225aa128c0915b6426aad587c9e258faac87
/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
- [avahi-libs website](http://avahi.org http://avahi.org)
Summary
In this tutorial we learn how to install avahi-libs
on CentOS 8 using yum and dnf.