How To Install libaec on Rocky Linux 8

In this tutorial we learn how to install libaec on Rocky Linux 8. libaec is Adaptive Entropy Coding library

Introduction

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

What is libaec

Libaec provides fast loss-less compression of 1 up to 32 bit wide signed or unsigned integers (samples). The library achieves best results for low entropy data as often encountered in space imaging instrument data or numerical model output from weather or climate simulations. While floating point representations are not directly supported, they can also be efficiently coded by grouping exponents and mantissa. Libaec implements Golomb Rice coding as defined in the Space Data System Standard documents 121.0-B-2 and 120.0-G-2. Libaec includes a free drop-in replacement for the SZIP library (http

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

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

sudo dnf -y install libaec

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

sudo yum -y install libaec

How To Uninstall libaec on Rocky Linux 8

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

sudo dnf remove libaec

libaec Package Contents on Rocky Linux 8

/usr/bin/aec
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/2c8da223c34289b9f899cb226474ec8cf72d6d
/usr/lib/.build-id/49
/usr/lib/.build-id/49/88574b4c674e9b577bd2ac363bc9e613f89374
/usr/lib/.build-id/52
/usr/lib/.build-id/52/96d2dd3a48e9a637b12de37a9ed30e6960b1dd
/usr/lib/libaec.so.0
/usr/lib/libaec.so.0.0.8
/usr/lib/libsz.so.2
/usr/lib/libsz.so.2.0.1
/usr/share/doc/libaec
/usr/share/doc/libaec/CHANGELOG.md
/usr/share/doc/libaec/README.SZIP
/usr/share/doc/libaec/README.md
/usr/share/licenses/libaec
/usr/share/licenses/libaec/Copyright.txt
/usr/share/licenses/libaec/patent.txt
/usr/share/man/man1/aec.1.gz
/usr/bin/aec
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/267f81788f10a144a661b75eec271a536108c6
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/aa66f06a0108c2918a31d6dfe7a80c553b1ce7
/usr/lib/.build-id/99
/usr/lib/.build-id/99/ceb4a08f3334086f79fb89e29c715fa5a83050
/usr/lib64/libaec.so.0
/usr/lib64/libaec.so.0.0.8
/usr/lib64/libsz.so.2
/usr/lib64/libsz.so.2.0.1
/usr/share/doc/libaec
/usr/share/doc/libaec/CHANGELOG.md
/usr/share/doc/libaec/README.SZIP
/usr/share/doc/libaec/README.md
/usr/share/licenses/libaec
/usr/share/licenses/libaec/Copyright.txt
/usr/share/licenses/libaec/patent.txt
/usr/share/man/man1/aec.1.gz

References

Summary

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