How To Install fpack on Rocky Linux 8

In this tutorial we learn how to install fpack on Rocky Linux 8. fpack is FITS image compression and decompression utilities

Introduction

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

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

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

sudo dnf -y install fpack

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

sudo yum -y install fpack

How To Uninstall fpack on Rocky Linux 8

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

sudo dnf remove fpack

fpack Package Contents on Rocky Linux 8

/usr/bin/fpack
/usr/bin/funpack
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/bbdd5cf3925bbf8218eb3952b4ea4bda718225
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/9ffc2d1fd67f701363689cecf09a01dc961e7d
/usr/share/doc/fpack
/usr/share/doc/fpack/License.txt
/usr/share/doc/fpack/fpackguide.pdf

References

Summary

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