How To Install libgli-doc on Debian 9

In this tutorial we learn how to install libgli-doc on Debian 9. libgli-doc is documentation for the OpenGL Image (GLI) library

Introduction

In this tutorial we learn how to install libgli-doc on Debian 9.

What is libgli-doc

libgli-doc is:

OpenGL Image (GLI) is a header only C++ image library for graphics software.

GLI provides classes and functions to load image files (KTX and DDS), facilitate graphics APIs texture creation, compare textures, access texture texels, sample textures, convert textures, generate mipmaps, etc.

This library works perfectly with OpenGL or Vulkan but it also ensures interoperability with other third party libraries and SDK. It is a good candidate for software rendering (raytracing / rasterisation), image processing, image based software testing or any development context that requires a simple and convenient image library.

This package provides the documentation.

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

sudo apt-get -y install libgli-doc

Install libgli-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgli-doc

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

sudo aptitude -y install libgli-doc

How To Uninstall libgli-doc on Debian 9

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

sudo apt-get remove libgli-doc

Uninstall libgli-doc And Its Dependencies

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

sudo apt-get -y autoremove libgli-doc

Remove libgli-doc Configurations and Data

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

sudo apt-get -y purge libgli-doc

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

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

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

Dependencies

libgli-doc have the following dependencies:

References

Summary

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