How To Install CharLS on CentOS 7

In this tutorial we learn how to install CharLS on CentOS 7. CharLS is An optimized implementation of the JPEG-LS standard

Introduction

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

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

Install CharLS on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install CharLS

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

sudo dnf -y install CharLS

How To Uninstall CharLS on CentOS 7

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 CentOS 7 using yum and dnf.