How To Install grass on CentOS 7

In this tutorial we learn how to install grass on CentOS 7. grass is GRASS - Geographic Resources Analysis Support System

Introduction

In this tutorial we learn how to install grass on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install grass.

Install grass on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install grass using yum by running the following command:

sudo yum -y install grass

Install grass on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install grass using dnf by running the following command:

sudo dnf -y install grass

How To Uninstall grass on CentOS 7

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 CentOS 7 using yum and dnf.