How To Install libref_array on Rocky Linux 8

In this tutorial we learn how to install libref_array on Rocky Linux 8. libref_array is A refcounted array for C

Introduction

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

What is libref_array

A dynamically-growing, reference-counted array

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

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

sudo dnf -y install libref_array

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

sudo yum -y install libref_array

How To Uninstall libref_array on Rocky Linux 8

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

sudo dnf remove libref_array

libref_array Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/470c6210e5929e79972343f4410b8a831c023f
/usr/lib64/libref_array.so.1
/usr/lib64/libref_array.so.1.2.1
/usr/share/doc/libref_array
/usr/share/doc/libref_array/COPYING
/usr/share/doc/libref_array/COPYING.LESSER
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/36a17b49f285dd55818666f2091d89da9008d2
/usr/lib/libref_array.so.1
/usr/lib/libref_array.so.1.2.1
/usr/share/doc/libref_array
/usr/share/doc/libref_array/COPYING
/usr/share/doc/libref_array/COPYING.LESSER

References

Summary

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