How To Install libref_array on AlmaLinux 8

In this tutorial we learn how to install libref_array in AlmaLinux 8. libref_array is A refcounted array for C

Introduction

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

What is libref_array

A dynamically-growing, reference-counted array

We can use yum or dnf to install libref_array on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove libref_array

References

Summary

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