How To Install libtiff on Rocky Linux 8

In this tutorial we learn how to install libtiff on Rocky Linux 8. libtiff is Library of functions for manipulating TIFF format image files

Introduction

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

What is libtiff

The libtiff package contains a library of functions for manipulating TIFF (Tagged Image File Format) image format files. TIFF is a widely used file format for bitmapped images. TIFF files usually end in the .tif extension and they are often quite large. The libtiff package should be installed if you need to manipulate TIFF format image files.

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

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

sudo dnf -y install libtiff

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

sudo yum -y install libtiff

How To Uninstall libtiff on Rocky Linux 8

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

sudo dnf remove libtiff

libtiff Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/debb755aef83a0c7e26ab3c68fe9473c3ae35c
/usr/lib/.build-id/be
/usr/lib/.build-id/be/06352288550bd1329ea9397aac659268999ab3
/usr/lib64/libtiff.so.5
/usr/lib64/libtiff.so.5.3.0
/usr/lib64/libtiffxx.so.5
/usr/lib64/libtiffxx.so.5.3.0
/usr/share/doc/libtiff
/usr/share/doc/libtiff/COPYRIGHT
/usr/share/doc/libtiff/README
/usr/share/doc/libtiff/RELEASE-DATE
/usr/share/doc/libtiff/VERSION
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/61e1e513a91aa8bb5f73334347c70b9de686cf
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/9d9d9e449372a6702036513686fe4baeaca321
/usr/lib/libtiff.so.5
/usr/lib/libtiff.so.5.3.0
/usr/lib/libtiffxx.so.5
/usr/lib/libtiffxx.so.5.3.0
/usr/share/doc/libtiff
/usr/share/doc/libtiff/COPYRIGHT
/usr/share/doc/libtiff/README
/usr/share/doc/libtiff/RELEASE-DATE
/usr/share/doc/libtiff/VERSION

References

Summary

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