How To Install flashrom-devel on Rocky Linux 8

In this tutorial we learn how to install flashrom-devel on Rocky Linux 8. flashrom-devel is Development package for flashrom

Introduction

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

What is flashrom-devel

Files for development with flashrom.

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

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

sudo dnf -y install flashrom-devel

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

sudo yum -y install flashrom-devel

How To Uninstall flashrom-devel on Rocky Linux 8

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

sudo dnf remove flashrom-devel

flashrom-devel Package Contents on Rocky Linux 8

/usr/include/libflashrom.h
/usr/lib64/libflashrom.so
/usr/lib64/pkgconfig/flashrom.pc

References

Summary

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