How To Install gri-el on Ubuntu 18.04

In this tutorial we learn how to install gri-el on Ubuntu 18.04. gri-el is Emacs major-mode for gri, a language for scientific graphics

Introduction

In this tutorial we learn how to install gri-el on Ubuntu 18.04.

What is gri-el

gri-el is:

Gri is an open-source language for scientific graphics programming.

This is the Emacs major-mode for gri.

There are three methods to install gri-el on Ubuntu 18.04. 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-el 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-el using apt-get by running the following command:

sudo apt-get -y install gri-el

Install gri-el Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gri-el

Install gri-el 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install gri-el

How To Uninstall gri-el on Ubuntu 18.04

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

sudo apt-get remove gri-el

Uninstall gri-el And Its Dependencies

To uninstall gri-el and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gri-el

Remove gri-el Configurations and Data

To remove gri-el configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gri-el

Remove gri-el configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gri-el

References

Summary

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