How To Install python-glad on Debian 10

Learn how to install python-glad on Debian 10 with this tutorial. python-glad is GL/GLES/EGL/GLX/WGL Loader-Generator (Python 2)

Introduction

In this tutorial we learn how to install python-glad on Debian 10.

What is python-glad

python-glad is:

This package provides the implementation of what is also available as a webservice on http://glad.dav1d.de/ to transform OpenGL specs into an API that one can program against. It uses the official Khronos-XML specs to generate a GL/GLES/EGL/GLX/WGL Loader made for your needs. Glad currently supports the languages C, D and Volt.

The package is not meant for end users and will not be installed by the users of the package that it helped building. It is a build dependency that is prepared to be integrated with CMake or Conan into the build process.

This package installs the library for Python 2.

There are three methods to install python-glad 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 python-glad Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-glad using apt-get by running the following command:

sudo apt-get -y install python-glad

Install python-glad Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-glad

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

sudo aptitude -y install python-glad

How To Uninstall python-glad on Debian 10

To uninstall only the python-glad package we can use the following command:

sudo apt-get remove python-glad

Uninstall python-glad And Its Dependencies

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

sudo apt-get -y autoremove python-glad

Remove python-glad Configurations and Data

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

sudo apt-get -y purge python-glad

Remove python-glad configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-glad

Dependencies

python-glad have the following dependencies:

References

Summary

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