graph-easy command not found

In this troubleshooting guide we learn how to fix graph-easy command not found error message

Introduction

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

graph-easy: command not found

or when using sudo you get the following error message

sudo: graph-easy: command not found

Solutions to graph-easy: command not found

How To Fix graph-easy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu graph-easy is provided by libgraph-easy-perl package.

libgraph-easy-perl is:

Graph::Easy lets you generate graphs consisting of various shaped nodes connected by edges (with optional labels).

It can read and write graphs in a variety of formats, as well as render them via its own grid-based layouter. It has export filters for Graphviz, VCG (Visualizing Compiler Graphs), GDL (Graph Description Language) and GraphML. Import filters are for Graphviz, VCG and GDL.

Since the layouter works on a grid (manhattan layout), the output is most useful for flow charts, network diagrams, or hierarchy trees.

Graph::Easy has an easy-to-understand, compact and human readable graph description language.

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

sudo apt-get -y install libgraph-easy-perl

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

You can also use apt command to install libgraph-easy-perl.

sudo apt -y install libgraph-easy-perl

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

sudo aptitude install libgraph-easy-perl

Summary

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