How To Install libtiff on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install libtiff on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtiff.

Install libtiff on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove libtiff

References

Summary

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