How To Install grass on AlmaLinux 8

In this tutorial we learn how to install grass in AlmaLinux 8. grass is GRASS GIS - Geographic Resources Analysis Support System

Introduction

In this tutorial we learn how to install grass on AlmaLinux 8.

What is grass

GRASS (Geographic Resources Analysis Support System) is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies.

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

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

sudo dnf -y install grass

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

sudo yum -y install grass

How To Uninstall grass on AlmaLinux 8

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

sudo dnf remove grass

References

Summary

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