How To Install CharLS on AlmaLinux 8

In this tutorial we learn how to install CharLS in AlmaLinux 8. CharLS is An optimized implementation of the JPEG-LS standard

Introduction

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

What is CharLS

An optimized implementation of the JPEG-LS standard for loss less and near loss less image compression. JPEG-LS is a low-complexity standard that matches JPEG 2000 compression ratios. In terms of speed, CharLS outperforms open source and commercial JPEG LS implementations. JPEG-LS (ISO-14495-1/ITU-T.87) is a standard derived from the Hewlett Packard LOCO algorithm. JPEG LS has low complexity (meaning fast compression) and high compression ratios, similar to JPEG 2000. JPEG-LS is more similar to the old loss less JPEG than to JPEG 2000, but interestingly the two different techniques result in vastly different performance characteristics.

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

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

sudo dnf -y install CharLS

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

sudo yum -y install CharLS

How To Uninstall CharLS on AlmaLinux 8

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

sudo dnf remove CharLS

References

Summary

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