How To Install netcf-libs on Rocky Linux 8

In this tutorial we learn how to install netcf-libs on Rocky Linux 8. netcf-libs is Libraries for netcf

Introduction

In this tutorial we learn how to install netcf-libs on Rocky Linux 8.

What is netcf-libs

The libraries for netcf.

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

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

sudo dnf -y install netcf-libs

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

sudo yum -y install netcf-libs

How To Uninstall netcf-libs on Rocky Linux 8

To uninstall only the netcf-libs package we can use the following command:

sudo dnf remove netcf-libs

netcf-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/47c10cedacb2f933be9071d8f5f5be278df994
/usr/lib/systemd/system/netcf-transaction.service
/usr/lib64/libnetcf.so.1
/usr/lib64/libnetcf.so.1.4.0
/usr/libexec/netcf-transaction.sh
/usr/share/doc/netcf-libs
/usr/share/doc/netcf-libs/AUTHORS
/usr/share/doc/netcf-libs/COPYING
/usr/share/doc/netcf-libs/NEWS
/usr/share/netcf
/usr/share/netcf/lenses
/usr/share/netcf/lenses/netcf.aug
/usr/share/netcf/lenses/persist_net_rules.aug
/usr/share/netcf/lenses/routes.aug
/usr/share/netcf/xml
/usr/share/netcf/xml/augeas.rng
/usr/share/netcf/xml/debian-get.xsl
/usr/share/netcf/xml/debian-put.xsl
/usr/share/netcf/xml/interface.rng
/usr/share/netcf/xml/redhat-get.xsl
/usr/share/netcf/xml/redhat-put.xsl
/usr/share/netcf/xml/suse-get.xsl
/usr/share/netcf/xml/suse-put.xsl
/usr/share/netcf/xml/util-get.xsl
/usr/share/netcf/xml/util-put.xsl

References

Summary

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