How To Install kscreenlocker-devel on Rocky Linux 8

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

Introduction

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

What is kscreenlocker-devel

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

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

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

sudo dnf -y install kscreenlocker-devel

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

sudo yum -y install kscreenlocker-devel

How To Uninstall kscreenlocker-devel on Rocky Linux 8

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

sudo dnf remove kscreenlocker-devel

kscreenlocker-devel Package Contents on Rocky Linux 8

/usr/include/KScreenLocker
/usr/include/KScreenLocker/KScreenLocker
/usr/include/KScreenLocker/KScreenLocker/KsldApp
/usr/include/KScreenLocker/KScreenLocker/kscreenlocker_export.h
/usr/include/KScreenLocker/KScreenLocker/ksldapp.h
/usr/lib64/cmake/KScreenLocker
/usr/lib64/cmake/KScreenLocker/KScreenLockerConfig.cmake
/usr/lib64/cmake/KScreenLocker/KScreenLockerConfigVersion.cmake
/usr/lib64/cmake/KScreenLocker/KScreenLockerTargets-release.cmake
/usr/lib64/cmake/KScreenLocker/KScreenLockerTargets.cmake
/usr/lib64/cmake/ScreenSaverDBusInterface
/usr/lib64/cmake/ScreenSaverDBusInterface/ScreenSaverDBusInterfaceConfig.cmake
/usr/lib64/libKScreenLocker.so
/usr/share/dbus-1/interfaces/kf5_org.freedesktop.ScreenSaver.xml
/usr/share/dbus-1/interfaces/org.kde.screensaver.xml

References

Summary

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