glcontexts command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
glcontexts: command not found
or when using sudo you get the following error message
sudo: glcontexts: command not found
Solutions to glcontexts: command not found
How To Fix glcontexts: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu glcontexts is provided by glbinding-tools package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install glbinding-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install glbinding-tools.
sudo apt -y install glbinding-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install glbinding-tools
Summary
In this tutorial we learn how to fix glcontexts command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.