glmark2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
glmark2: command not found
or when using sudo you get the following error message
sudo: glmark2: command not found
Solutions to glmark2: command not found
How To Fix glmark2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu glmark2 is provided by glmark2 package.
glmark2 is:
A benchmark for OpenGL (ES) 2.0 that uses only the OpenGL ES 2.0 compatible API. It contains tests for standard OpenGL (ES) 2.0 features, such as vertex arrays, VBOs, texturing and shaders.
This package contains the OpenGL 2.0 variant of the benchmark for X11.
To fix this problem, we can install more using the command below.
sudo apt-get -y install glmark2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install glmark2.
sudo apt -y install glmark2
Or if you have aptitude installed you can use the following command.
sudo aptitude install glmark2
Summary
In this tutorial we learn how to fix glmark2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.