How To Install libmfx-devel on Rocky Linux 8

In this tutorial we learn how to install libmfx-devel on Rocky Linux 8. libmfx-devel is Intel hardware video acceleration dispatcher library - development files

Introduction

In this tutorial we learn how to install libmfx-devel on Rocky Linux 8.

What is libmfx-devel

The dispatcher is a layer that lies between applications and Intel Media SDK implementations. Upon initialization, the dispatcher locates the appropriate platform-specific SDK implementation. If there is none, it will select the software SDK implementation. The dispatcher will redirect subsequent function calls to the same functions in the selected SDK implementation. This package contains the development files.

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

Install libmfx-devel 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 libmfx-devel using dnf by running the following command:

sudo dnf -y install libmfx-devel

Install libmfx-devel 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 libmfx-devel using yum by running the following command:

sudo yum -y install libmfx-devel

How To Uninstall libmfx-devel on Rocky Linux 8

To uninstall only the libmfx-devel package we can use the following command:

sudo dnf remove libmfx-devel

libmfx-devel Package Contents on Rocky Linux 8

/usr/include/mfx
/usr/include/mfx/mfxastructures.h
/usr/include/mfx/mfxaudio.h
/usr/include/mfx/mfxbrc.h
/usr/include/mfx/mfxcamera.h
/usr/include/mfx/mfxcommon.h
/usr/include/mfx/mfxdefs.h
/usr/include/mfx/mfxenc.h
/usr/include/mfx/mfxfei.h
/usr/include/mfx/mfxfeihevc.h
/usr/include/mfx/mfxjpeg.h
/usr/include/mfx/mfxla.h
/usr/include/mfx/mfxmvc.h
/usr/include/mfx/mfxpak.h
/usr/include/mfx/mfxplugin.h
/usr/include/mfx/mfxsc.h
/usr/include/mfx/mfxsession.h
/usr/include/mfx/mfxstructures.h
/usr/include/mfx/mfxvideo.h
/usr/include/mfx/mfxvp8.h
/usr/include/mfx/mfxvp9.h
/usr/include/mfx/mfxvstructures.h
/usr/lib64/libmfx.so
/usr/lib64/pkgconfig/libmfx.pc

References

Summary

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