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