How To Install jgraph on Debian 10

Learn how to install jgraph on Debian 10 with this tutorial. jgraph is Jim Planks program for producing PostScript graphs

Introduction

In this tutorial we learn how to install jgraph on Debian 10.

What is jgraph

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).

There are three methods to install jgraph on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install jgraph Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install jgraph using apt-get by running the following command:

sudo apt-get -y install jgraph

Install jgraph Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jgraph using apt by running the following command:

sudo apt -y install jgraph

Install jgraph Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install jgraph using aptitude by running the following command:

sudo aptitude -y install jgraph

How To Uninstall jgraph on Debian 10

To uninstall only the jgraph package we can use the following command:

sudo apt-get remove jgraph

Uninstall jgraph And Its Dependencies

To uninstall jgraph and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove jgraph

Remove jgraph Configurations and Data

To remove jgraph configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge jgraph

Remove jgraph configuration, data, and all of its dependencies

We can use the following command to remove jgraph configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jgraph

Dependencies

jgraph have the following dependencies:

References

Summary

In this tutorial we learn how to install jgraph package on Debian 10 using different package management tools: apt, apt-get and aptitude.