How To Install Judy on CentOS 8
Introduction
In this tutorial we learn how to install Judy
on CentOS 8.
What is Judy
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.
We can use yum
or dnf
to install Judy
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install Judy.
Install Judy on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install Judy
using dnf
by running the following command:
sudo dnf -y install Judy
Install Judy on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install Judy
using yum
by running the following command:
sudo yum -y install Judy
How To Uninstall Judy on CentOS 8
To uninstall only the Judy
package we can use the following command:
sudo dnf remove Judy
Judy Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/1fb26bcffbceef133f1e6ccf8920e509bb1dbe
/usr/lib64/libJudy.so.1
/usr/lib64/libJudy.so.1.0.3
/usr/share/doc/Judy
/usr/share/doc/Judy/AUTHORS
/usr/share/doc/Judy/ChangeLog
/usr/share/doc/Judy/README
/usr/share/doc/Judy/examples
/usr/share/doc/Judy/examples/Judy1Dup.c
/usr/share/doc/Judy/examples/Judy1Dup.h
/usr/share/doc/Judy/examples/Judy1DupCheck.c
/usr/share/doc/Judy/examples/Judy1Op.c
/usr/share/doc/Judy/examples/Judy1Op.h
/usr/share/doc/Judy/examples/Judy1OpCheck.c
/usr/share/doc/Judy/examples/Makefile
/usr/share/doc/Judy/examples/README
/usr/share/licenses/Judy
/usr/share/licenses/Judy/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/17aa86b74580093af3f59ea43fcefa2be88832
/usr/lib64/libJudy.so.1
/usr/lib64/libJudy.so.1.0.3
/usr/share/doc/Judy
/usr/share/doc/Judy/AUTHORS
/usr/share/doc/Judy/ChangeLog
/usr/share/doc/Judy/README
/usr/share/doc/Judy/examples
/usr/share/doc/Judy/examples/Judy1Dup.c
/usr/share/doc/Judy/examples/Judy1Dup.h
/usr/share/doc/Judy/examples/Judy1DupCheck.c
/usr/share/doc/Judy/examples/Judy1Op.c
/usr/share/doc/Judy/examples/Judy1Op.h
/usr/share/doc/Judy/examples/Judy1OpCheck.c
/usr/share/doc/Judy/examples/Makefile
/usr/share/doc/Judy/examples/README
/usr/share/licenses/Judy
/usr/share/licenses/Judy/COPYING
References
Summary
In this tutorial we learn how to install Judy
on CentOS 8 using yum and dnf.