x-grass78 command not found

In this troubleshooting guide we learn how to fix x-grass78 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

x-grass78: command not found

or when using sudo you get the following error message

sudo: x-grass78: command not found

Solutions to x-grass78: command not found

How To Fix x-grass78: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu x-grass78 is provided by grass-core package.

grass-core is:

Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/map production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many government agencies and environmental consulting companies.

This package contains the core processing components, but not the GUI.

To fix this problem, we can install more using the command below.

sudo apt-get -y install grass-core

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install grass-core.

sudo apt -y install grass-core

Or if you have aptitude installed you can use the following command.

sudo aptitude install grass-core

Summary

In this tutorial we learn how to fix x-grass78 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.