How To Install libva on Rocky Linux 8

In this tutorial we learn how to install libva on Rocky Linux 8. libva is Video Acceleration (VA) API for Linux

Introduction

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

What is libva

Libva is a library providing the VA API video acceleration API.

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

Install libva on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libva

Install libva on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove libva

libva Package Contents on Rocky Linux 8

/etc/libva.conf
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/970951c5b366b2baf78611bab6842231caefa2
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/9fec300e2de171704209ac050c04e4288207e2
/usr/lib/.build-id/81
/usr/lib/.build-id/81/8300271618abd5aec0539b78625c9743c7086e
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/0b2d5f13709f8016c3ac5a69b64fcd984a8d27
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/08de31a5f935a8626d19ee5a8a51fcf176a241
/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
/etc/libva.conf
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/45d0e7e8ff4654259f5707306712bb1fd8240f
/usr/lib/.build-id/58
/usr/lib/.build-id/58/6680ad52510d5191f3be4e47acbd285a0e22e1
/usr/lib/.build-id/59
/usr/lib/.build-id/59/bda4b526054d39268106ed2f89e0694c18d16b
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/25b92fb43522099b85d496d768035106013eee
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/894d54f33ea26e820afe4db90c2572564f7d7e
/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

References

Summary

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