How To Install fpack on CentOS 7

In this tutorial we learn how to install fpack on CentOS 7. fpack is FITS image compression and decompression utilities

Introduction

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

What is fpack

fpack optimally compresses FITS format images and funpack restores them to the original state. * Integer format images are losslessly compressed using the Rice compression algorithm. * typically 30% better compression than GZIP * about 3 times faster compression speed than GZIP * about the same uncompression speed as GUNZIP * Floating-point format images are compressed with a lossy algorithm * truncates the image pixel noise by a user-specified amount to produce much higher compression than by lossless techniques * the precision of scientific measurements in the compressed image (relative to those in the original image) depends on the selected amount of compression

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

Install fpack on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install fpack

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

sudo dnf -y install fpack

How To Uninstall fpack on CentOS 7

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

sudo dnf remove fpack

References

Summary

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