mangohud command not found

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

Introduction

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

mangohud: command not found

or when using sudo you get the following error message

sudo: mangohud: command not found

Solutions to mangohud: command not found

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

In Ubuntu mangohud is provided by mangohud package.

mangohud is:

A modification of the Mesa Vulkan overlay, including GUI improvements with HUD configuration, temperature reporting, and logging capabilities. Includes a script (mangohud) to start it on any OpenGL or Vulkan application. To get data for Nvidia GPUs, you need to install libxnvctrl0.

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

sudo apt-get -y install mangohud

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

You can also use apt command to install mangohud.

sudo apt -y install mangohud

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

sudo aptitude install mangohud

Summary

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