How To Install libva on CentOS 8

libva is Video Acceleration (VA) API for Linux Video Acceleration (VA) API for Linux

Introduction

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

What is libva

Libva is a library providing the VA API video acceleration API. libva 2.5.0 2.el8 x86_64 95 k libva-2.5.0-2.el8.src.rpm appstream Video Acceleration (VA) API for Linux https MIT Libva is a library providing the VA API video acceleration API.

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

Install libva on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install libva

Install libva on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install libva

How To Uninstall libva on CentOS 8

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

sudo dnf remove libva

libva Package Contents on CentOS 8

/etc/libva.conf
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/04f59370b2ce7385511d4279c832b38ee5d953
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/453c1fdb95559a15b704a76df1a02ebbe686a0
/usr/lib/.build-id/83
/usr/lib/.build-id/83/da52240558664f4e4aabb3017201f65c42f243
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/d4a8185d3cafe38b5a713781ac71695ab8d894
/usr/lib/.build-id/db
/usr/lib/.build-id/db/2f8c5c6b250673b86ac4e0a3e1fe59908c7248
/usr/lib64/libva-drm.so.2
/usr/lib64/libva-drm.so.2.500.0
/usr/lib64/libva-glx.so.2
/usr/lib64/libva-glx.so.2.500.0
/usr/lib64/libva-wayland.so.2
/usr/lib64/libva-wayland.so.2.500.0
/usr/lib64/libva-x11.so.2
/usr/lib64/libva-x11.so.2.500.0
/usr/lib64/libva.so.2
/usr/lib64/libva.so.2.500.0
/usr/share/doc/libva
/usr/share/doc/libva/NEWS
/usr/share/licenses/libva
/usr/share/licenses/libva/COPYING
/etc/libva.conf
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/2ce8d0c5aa612523613e22ff3ecdefb57b2366
/usr/lib/.build-id/35
/usr/lib/.build-id/35/d81539091342fda9d42edad12c16426bb08858
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/6b33be0e02909a2eca23b762075e7577f93c5d
/usr/lib/.build-id/55
/usr/lib/.build-id/55/e596b666506721d3b0022ce7947a7a21061da2
/usr/lib/.build-id/73
/usr/lib/.build-id/73/df55d0bd8085093d9016f756c6d1edfc4159d2
/usr/lib/libva-drm.so.2
/usr/lib/libva-drm.so.2.500.0
/usr/lib/libva-glx.so.2
/usr/lib/libva-glx.so.2.500.0
/usr/lib/libva-wayland.so.2
/usr/lib/libva-wayland.so.2.500.0
/usr/lib/libva-x11.so.2
/usr/lib/libva-x11.so.2.500.0
/usr/lib/libva.so.2
/usr/lib/libva.so.2.500.0
/usr/share/doc/libva
/usr/share/doc/libva/NEWS
/usr/share/licenses/libva
/usr/share/licenses/libva/COPYING

References

Summary

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