dh_libva command not found

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

Introduction

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

dh_libva: command not found

or when using sudo you get the following error message

sudo: dh_libva: command not found

Solutions to dh_libva: command not found

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

In Ubuntu dh_libva is provided by libva-dev package.

libva-dev is:

Video Acceleration API (VA API) is a library (“libVA”) and API specification which enables and provides access to graphics hardware (GPU) acceleration for video processing on Linux and UNIX based operating systems. Accelerated processing includes video decoding, video encoding, subpicture blending and rendering. The specification was originally designed by Intel for its GMA (Graphics Media Accelerator) series of GPU hardware, the API is however not limited to GPUs or Intel specific hardware, as other hardware and manufacturers can also freely use this API for hardware accelerated video decoding.

This package provides the development environment for libva.

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

sudo apt-get -y install libva-dev

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

You can also use apt command to install libva-dev.

sudo apt -y install libva-dev

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

sudo aptitude install libva-dev

Summary

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