How To Install libaec on CentOS 7

In this tutorial we learn how to install libaec on CentOS 7. libaec is Adaptive Entropy Coding library

Introduction

In this tutorial we learn how to install libaec on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libaec.

Install libaec on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libaec using yum by running the following command:

sudo yum -y install libaec

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

sudo dnf -y install libaec

How To Uninstall libaec on CentOS 7

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

sudo dnf remove libaec

References

Summary

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