How To Install libglm-doc on Debian 10

Learn how to install libglm-doc on Debian 10 with this tutorial. libglm-doc is documentation for the OpenGL Mathematics (GLM) library

Introduction

In this tutorial we learn how to install libglm-doc on Debian 10.

What is libglm-doc

libglm-doc is:

OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.

This package contains the OpenGL Mathematics manual in HTML and PDF formats.

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

Install libglm-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 libglm-doc using apt-get by running the following command:

sudo apt-get -y install libglm-doc

Install libglm-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libglm-doc

Install libglm-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libglm-doc

How To Uninstall libglm-doc on Debian 10

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

sudo apt-get remove libglm-doc

Uninstall libglm-doc And Its Dependencies

To uninstall libglm-doc and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libglm-doc

Remove libglm-doc Configurations and Data

To remove libglm-doc configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libglm-doc

Remove libglm-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libglm-doc

Dependencies

libglm-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libglm-doc package on Debian 10 using different package management tools: apt, apt-get and aptitude.