How To Install libva on CentOS 7

In this tutorial we learn how to install libva on CentOS 7. libva is Libva is an implementation for Video Acceleration API

Introduction

In this tutorial we learn how to install libva on CentOS 7.

What is libva

Video Acceleration-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor. Video Acceleration-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor.

We can use yum or dnf to install libva on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libva.

Install libva on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libva using yum by running the following command:

sudo yum -y install libva

Install libva on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libva using dnf by running the following command:

sudo dnf -y install libva

How To Uninstall libva on CentOS 7

To uninstall only the libva package we can use the following command:

sudo dnf remove libva

References

Summary

In this tutorial we learn how to install libva on CentOS 7 using yum and dnf.