grap command not found

In this troubleshooting guide we learn how to fix grap command not found error message

Introduction

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

grap: command not found

or when using sudo you get the following error message

sudo: grap: command not found

Solutions to grap: command not found

How To Fix grap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu grap is provided by grap package.

grap is:

This is grap, an implementation of Kernighan and Bentley’s grap language for typesetting graphs. The grap preprocessor works with pic and troff (or groff).

Grap is a language for describing graphical displays of data. It provides such services as automatic scaling and labeling of axes, and for statements, if statements, and macros to facilitate user programmability. Grap is intended primarily for including graphs in documents prepared with groff or TeX, and is only marginally useful for elementary tasks in data analysis.

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

sudo apt-get -y install grap

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

You can also use apt command to install grap.

sudo apt -y install grap

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

sudo aptitude install grap

Summary

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