How To Install gle-graphics on Kali Linux

In this tutorial we learn how to install gle-graphics on Kali Linux. gle-graphics is Graphics Layout Engine

Introduction

In this tutorial we learn how to install gle-graphics on Kali Linux.

What is gle-graphics

gle-graphics is:

GLE is a graphics scripting language designed for creating publication quality figures such as charts, plots, graphs, and diagrams. It supports various chart types (including function plot, histogram, bar chart, scatter plot, contour plot, color map, and surface plot) through a simple but flexible set of graphing commands; more complex output can be created by relying on its scripting language, which is full featured with subroutines, variables, and logic control.

GLE relies on LaTeX for text output and supports mathematical formulae in graphs and figures. Output formats include (E)PS, PDF, JPEG, and PNG.

There are three methods to install gle-graphics 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 gle-graphics Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gle-graphics

Install gle-graphics Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gle-graphics

Install gle-graphics 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 gle-graphics using aptitude by running the following command:

sudo aptitude -y install gle-graphics

How To Uninstall gle-graphics on Kali Linux

To uninstall only the gle-graphics package we can use the following command:

sudo apt-get remove gle-graphics

Uninstall gle-graphics And Its Dependencies

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

sudo apt-get -y autoremove gle-graphics

Remove gle-graphics Configurations and Data

To remove gle-graphics configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gle-graphics

Remove gle-graphics configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gle-graphics

Dependencies

gle-graphics have the following dependencies:

References

Summary

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