eglinfo command not found

In this troubleshooting guide we learn how to fix eglinfo command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

eglinfo: command not found

or when using sudo you get the following error message

sudo: eglinfo: command not found

Solutions to eglinfo: command not found

How To Fix eglinfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu eglinfo is provided by mesa-utils-extra package.

mesa-utils-extra is:

This package provides several basic utilities built from Mesa, including es2gears, es2_info and es2tri

To fix this problem, we can install more using the command below.

sudo apt-get -y install mesa-utils-extra

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mesa-utils-extra.

sudo apt -y install mesa-utils-extra

Or if you have aptitude installed you can use the following command.

sudo aptitude install mesa-utils-extra

Summary

In this tutorial we learn how to fix eglinfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.