How To Install judy-fk on CentOS 7

In this tutorial we learn how to install judy-fk on CentOS 7. judy-fk is General purpose dynamic array with fixed-length keys

Introduction

In this tutorial we learn how to install judy-fk on CentOS 7.

What is judy-fk

Judy is a C library that provides a state-of-the-art core technology that implements a sparse dynamic array. Judy arrays are declared simply with a null pointer. A Judy array consumes memory only when it is populated, yet can grow to take advantage of all available memory if desired. Judy’s key benefits are scalability, high performance, and memory efficiency. A Judy array is extensible and can scale up to a very large number of elements, bounded only by machine memory. Since Judy is designed as an unbounded array, the size of a Judy array is not pre-allocated but grows and shrinks dynamically with the array population. This package adds a modified SL library that accepts fixed length byte arrays.

We can use yum or dnf to install judy-fk on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install judy-fk.

Install judy-fk on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install judy-fk using yum by running the following command:

sudo yum -y install judy-fk

Install judy-fk on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install judy-fk using dnf by running the following command:

sudo dnf -y install judy-fk

How To Uninstall judy-fk on CentOS 7

To uninstall only the judy-fk package we can use the following command:

sudo dnf remove judy-fk

References

Summary

In this tutorial we learn how to install judy-fk on CentOS 7 using yum and dnf.