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