How To Install fpack on Fedora 34

fpack is FITS image compression and decompression utilities

Introduction

In this tutorial we learn how to install fpack on Fedora 34.

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

Install fpack on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install fpack

Install fpack on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove fpack

fpack Package Contents on Fedora 34

/usr/bin/fpack
/usr/bin/funpack
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/6c16950f38fb1fc9270af4ec4d61090d8f1018
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/b78f61238458a16c91705c33a4e6a059123e6b
/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 Fedora 34 using yum and dnf.