How To Install kf5-kpackage-devel on Rocky Linux 8

In this tutorial we learn how to install kf5-kpackage-devel on Rocky Linux 8. kf5-kpackage-devel is Development files for kf5-kpackage

Introduction

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

What is kf5-kpackage-devel

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

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

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

sudo dnf -y install kf5-kpackage-devel

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

sudo yum -y install kf5-kpackage-devel

How To Uninstall kf5-kpackage-devel on Rocky Linux 8

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

sudo dnf remove kf5-kpackage-devel

kf5-kpackage-devel Package Contents on Rocky Linux 8

/usr/include/KF5/KPackage
/usr/include/KF5/KPackage/KPackage
/usr/include/KF5/KPackage/KPackage/Package
/usr/include/KF5/KPackage/KPackage/PackageLoader
/usr/include/KF5/KPackage/KPackage/PackageStructure
/usr/include/KF5/KPackage/kpackage
/usr/include/KF5/KPackage/kpackage/package.h
/usr/include/KF5/KPackage/kpackage/package_export.h
/usr/include/KF5/KPackage/kpackage/packageloader.h
/usr/include/KF5/KPackage/kpackage/packagestructure.h
/usr/include/KF5/KPackage/kpackage/version.h
/usr/include/KF5/kpackage_version.h
/usr/lib64/cmake/KF5Package
/usr/lib64/cmake/KF5Package/KF5PackageConfig.cmake
/usr/lib64/cmake/KF5Package/KF5PackageConfigVersion.cmake
/usr/lib64/cmake/KF5Package/KF5PackageMacros.cmake
/usr/lib64/cmake/KF5Package/KF5PackageTargets-release.cmake
/usr/lib64/cmake/KF5Package/KF5PackageTargets.cmake
/usr/lib64/cmake/KF5Package/KF5PackageToolsTargets-release.cmake
/usr/lib64/cmake/KF5Package/KF5PackageToolsTargets.cmake
/usr/lib64/cmake/KF5Package/qrc.cmake
/usr/lib64/libKF5Package.so

References

Summary

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