How To Install kompare-devel on Rocky Linux 8

In this tutorial we learn how to install kompare-devel on Rocky Linux 8. kompare-devel is Developer files for kompare

Introduction

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

What is kompare-devel

The kompare-devel package contains libraries and header files for developing applications that use kompare.

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

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

sudo dnf -y install kompare-devel

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

sudo yum -y install kompare-devel

How To Uninstall kompare-devel on Rocky Linux 8

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

sudo dnf remove kompare-devel

kompare-devel Package Contents on Rocky Linux 8

/usr/include/kompare
/usr/include/kompare/kompareinterface.h
/usr/lib64/libkompareinterface.so

References

Summary

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