How To Install gdal-python-tools on AlmaLinux 8

In this tutorial we learn how to install gdal-python-tools in AlmaLinux 8. gdal-python-tools is Python tools for the GDAL file format library

Introduction

In this tutorial we learn how to install gdal-python-tools on AlmaLinux 8.

What is gdal-python-tools

The GDAL Python package provides number of tools for programming and manipulating GDAL file format library

We can use yum or dnf to install gdal-python-tools on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gdal-python-tools.

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

sudo dnf -y install gdal-python-tools

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

sudo yum -y install gdal-python-tools

How To Uninstall gdal-python-tools on AlmaLinux 8

To uninstall only the gdal-python-tools package we can use the following command:

sudo dnf remove gdal-python-tools

References

Summary

In this tutorial we learn how to install gdal-python-tools on AlmaLinux 8 using yum and dnf.