How To Install libkscreen-qt5 on Rocky Linux 8

In this tutorial we learn how to install libkscreen-qt5 on Rocky Linux 8. libkscreen-qt5 is KDE display configuration library

Introduction

In this tutorial we learn how to install libkscreen-qt5 on Rocky Linux 8.

What is libkscreen-qt5

LibKScreen is a library that provides access to current configuration of connected displays and ways to change the configuration.

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

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

sudo dnf -y install libkscreen-qt5

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

sudo yum -y install libkscreen-qt5

How To Uninstall libkscreen-qt5 on Rocky Linux 8

To uninstall only the libkscreen-qt5 package we can use the following command:

sudo dnf remove libkscreen-qt5

libkscreen-qt5 Package Contents on Rocky Linux 8

/usr/bin/kscreen-doctor
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/84cb4dec811767a8aa738e018cde06425d357f
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/e00dc0cdb57a6fc6d09890f92d2137d1ca087c
/usr/lib/.build-id/44
/usr/lib/.build-id/44/e79640c17f6fbd78f69b1f4909d934ee1d4b37
/usr/lib/.build-id/46
/usr/lib/.build-id/46/02f3bf08842bb474ebac262ca4ade8e6ca8d99
/usr/lib/.build-id/88
/usr/lib/.build-id/88/c831b172d265c328efec1cec46b87e11a474b2
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/882307a44e384aad2104d0da2aa4868f49b3ae
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/40b60316054a5ba05afb5cdc8df5ff8792e358
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/170f1cbae66b0855844901f0ca8179f4ada1ba
/usr/lib64/libKF5Screen.so.5.18.3
/usr/lib64/libKF5Screen.so.7
/usr/lib64/qt5/plugins/kf5/kscreen
/usr/lib64/qt5/plugins/kf5/kscreen/KSC_Fake.so
/usr/lib64/qt5/plugins/kf5/kscreen/KSC_KWayland.so
/usr/lib64/qt5/plugins/kf5/kscreen/KSC_QScreen.so
/usr/lib64/qt5/plugins/kf5/kscreen/KSC_XRandR.so
/usr/lib64/qt5/plugins/kf5/kscreen/KSC_XRandR11.so
/usr/libexec/kf5/kscreen_backend_launcher
/usr/share/dbus-1/services/org.kde.kscreen.service
/usr/share/licenses/libkscreen-qt5
/usr/share/licenses/libkscreen-qt5/COPYING
/usr/share/qlogging-categories5/libkscreen.categories

References

Summary

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