How To Install gri on Kali Linux

In this tutorial we learn how to install gri on Kali Linux. gri is a language for scientific illustration

Introduction

In this tutorial we learn how to install gri on Kali Linux.

What is gri

gri is:

Gri is an open-source language for scientific graphics programming. It is command-driven, as opposed to point/click. Some users consider Gri similar to LaTeX, since both provide extensive power as a reward for tolerating a learning curve. The output is industry-standard PostScript as output, suitable for inclusion in other documents.

Gri can make x-y graphs, contour graphs, and image graphs. Fine control is provided over all aspects of drawing, e.g. line widths, colors, fonts, etc. Greek letters and mathematical symbols are available in a TeX-like syntax.

Folks who write 1000-line Gri scripts usually start with something as simple as the following:

open file.dat # open a file read columns x * y # read the 1st column as x and the 3rd as y draw curve # draw the data and autoscale the axes

A full manual is also available in HTML (gri-html-doc package), in PDF suitable for printing (gri-pdf-doc package) and on-line by following links from the gri home page: http://gri.sourceforge.net/

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

Install gri Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gri

Install gri Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gri

Install gri Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install gri

How To Uninstall gri on Kali Linux

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

sudo apt-get remove gri

Uninstall gri And Its Dependencies

To uninstall gri and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gri

Remove gri Configurations and Data

To remove gri configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gri

Remove gri configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gri

Dependencies

gri have the following dependencies:

References

Summary

In this tutorial we learn how to install gri package on Kali Linux using different package management tools: apt, apt-get and aptitude.