How To Install glbinding-tools on Ubuntu 18.04

In this tutorial we learn how to install glbinding-tools on Ubuntu 18.04. glbinding-tools is command-line tools for glbinding

Introduction

In this tutorial we learn how to install glbinding-tools on Ubuntu 18.04.

What is glbinding-tools

glbinding-tools is:

glbinding leverages modern C++11 features like enum classes, lambdas, and variadic templates, instead of relying on macros; all OpenGL symbols are real functions and variables.

It provides type-safe parameters, per feature API header, lazy function resolution, multi-context and multi-thread support, global and local function callbacks, meta information about the generated OpenGL binding and the OpenGL runtime, as well as tools and examples for quick-starting your projects.

This package provides the command-line tools.

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

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

sudo apt-get update

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

sudo apt-get -y install glbinding-tools

Install glbinding-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install glbinding-tools

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

sudo aptitude -y install glbinding-tools

How To Uninstall glbinding-tools on Ubuntu 18.04

To uninstall only the glbinding-tools package we can use the following command:

sudo apt-get remove glbinding-tools

Uninstall glbinding-tools And Its Dependencies

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

sudo apt-get -y autoremove glbinding-tools

Remove glbinding-tools Configurations and Data

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

sudo apt-get -y purge glbinding-tools

Remove glbinding-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge glbinding-tools

References

Summary

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