jgraph command not found

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

Introduction

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

jgraph: command not found

or when using sudo you get the following error message

sudo: jgraph: command not found

Solutions to jgraph: command not found

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

In Ubuntu jgraph is provided by jgraph package.

jgraph is:

Jgraph takes a description of a graph or graphs and produces a PostScript file on the standard output.

Jgraph is ideal for plotting any mixture of scatter point graphs, line graphs, and/or bar graphs, and embedding the output into LaTeX, or any other text processing system which can read PostScript.

The graph description language is simple enough to get nice looking graphs with a minimum of effort, yet powerful enough to give the user the flexibility to tailor the appearance of the graph to his or her individual preferences. This includes plotting multiple graphs and laying them out separately on the page (or pages).

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

sudo apt-get -y install jgraph

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

You can also use apt command to install jgraph.

sudo apt -y install jgraph

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

sudo aptitude install jgraph

Summary

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