How To Install rpm-ostree-libs on Rocky Linux 8

In this tutorial we learn how to install rpm-ostree-libs on Rocky Linux 8. rpm-ostree-libs is Shared library for rpm-ostree

Introduction

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

What is rpm-ostree-libs

The rpm-ostree-libs package includes the shared library for rpm-ostree.

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

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

sudo dnf -y install rpm-ostree-libs

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

sudo yum -y install rpm-ostree-libs

How To Uninstall rpm-ostree-libs on Rocky Linux 8

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

sudo dnf remove rpm-ostree-libs

rpm-ostree-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/73e765232b1196f6d1648aa910a552015bc8f1
/usr/lib/girepository-1.0/RpmOstree-1.0.typelib
/usr/lib/librpmostree-1.so.1
/usr/lib/librpmostree-1.so.1.0.0
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/0f4bb7744ca3b4884f998bbd01b7a343294c23
/usr/lib64/girepository-1.0/RpmOstree-1.0.typelib
/usr/lib64/librpmostree-1.so.1
/usr/lib64/librpmostree-1.so.1.0.0

References

Summary

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