How To Install libx86-devel on Rocky Linux 8

In this tutorial we learn how to install libx86-devel on Rocky Linux 8. libx86-devel is Development tools for programs which will use libx86

Introduction

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

What is libx86-devel

This package contains the static library and header file necessary for development of programs that will use libx86 to make real-mode x86 calls.

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

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

sudo dnf -y install libx86-devel

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

sudo yum -y install libx86-devel

How To Uninstall libx86-devel on Rocky Linux 8

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

sudo dnf remove libx86-devel

libx86-devel Package Contents on Rocky Linux 8

/usr/include/libx86.h
/usr/lib64/libx86.so
/usr/lib64/pkgconfig/x86.pc

References

Summary

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