How To Install gri-html-doc on Ubuntu 18.04

In this tutorial we learn how to install gri-html-doc on Ubuntu 18.04. gri-html-doc is HTML manual for gri, a language for scientific graphics

Introduction

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

What is gri-html-doc

gri-html-doc is:

Gri is a command-driven application for making x-y graphs, contour-graphs, and image graphs.

This is the Gri manual in HTML format and can be accessed directly via file:/usr/share/doc/gri/html/index.html or http://localhost/doc/gri/html/ or via doc-central, dwww or dhelp interfaces (if you have the doc-base package installed). Note that the manual in info format (without graphics) is included in the gri package itself. This manual is available on the web via: http://gri.sourceforge.net/gridoc/html/

There are three methods to install gri-html-doc 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-html-doc 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-html-doc using apt-get by running the following command:

sudo apt-get -y install gri-html-doc

Install gri-html-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gri-html-doc

Install gri-html-doc 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-html-doc using aptitude by running the following command:

sudo aptitude -y install gri-html-doc

How To Uninstall gri-html-doc on Ubuntu 18.04

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

sudo apt-get remove gri-html-doc

Uninstall gri-html-doc And Its Dependencies

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

sudo apt-get -y autoremove gri-html-doc

Remove gri-html-doc Configurations and Data

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

sudo apt-get -y purge gri-html-doc

Remove gri-html-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gri-html-doc

References

Summary

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