How To Install gle-graphics on Debian 9

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

Introduction

In this tutorial we learn how to install gle-graphics on Debian 9.

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

sudo aptitude -y install gle-graphics

How To Uninstall gle-graphics on Debian 9

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 Debian 9, 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 Debian 9 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 Debian 9 using different package management tools: apt, apt-get and aptitude.