How To Install mingw32-libtiff on Rocky Linux 8

In this tutorial we learn how to install mingw32-libtiff on Rocky Linux 8. mingw32-libtiff is MinGW Windows port of the LibTIFF library

Introduction

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

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

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

sudo dnf -y install mingw32-libtiff

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

sudo yum -y install mingw32-libtiff

How To Uninstall mingw32-libtiff on Rocky Linux 8

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

sudo dnf remove mingw32-libtiff

mingw32-libtiff Package Contents on Rocky Linux 8

/usr/i686-w64-mingw32/sys-root/mingw/bin/libtiff-5.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/libtiffxx-5.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/tiff.h
/usr/i686-w64-mingw32/sys-root/mingw/include/tiffconf.h
/usr/i686-w64-mingw32/sys-root/mingw/include/tiffio.h
/usr/i686-w64-mingw32/sys-root/mingw/include/tiffio.hxx
/usr/i686-w64-mingw32/sys-root/mingw/include/tiffvers.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libtiff.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/libtiffxx.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libtiff-4.pc
/usr/share/doc/mingw32-libtiff
/usr/share/doc/mingw32-libtiff/COPYRIGHT
/usr/share/doc/mingw32-libtiff/ChangeLog
/usr/share/doc/mingw32-libtiff/README
/usr/share/doc/mingw32-libtiff/RELEASE-DATE
/usr/share/doc/mingw32-libtiff/TODO
/usr/share/doc/mingw32-libtiff/VERSION

References

Summary

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