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

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

Introduction

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

What is kf5-kpty-devel

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

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

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

sudo dnf -y install kf5-kpty-devel

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

sudo yum -y install kf5-kpty-devel

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

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

sudo dnf remove kf5-kpty-devel

kf5-kpty-devel Package Contents on Rocky Linux 8

/usr/include/KF5/KPty
/usr/include/KF5/KPty/KPty
/usr/include/KF5/KPty/KPtyDevice
/usr/include/KF5/KPty/KPtyProcess
/usr/include/KF5/KPty/kpty.h
/usr/include/KF5/KPty/kpty_export.h
/usr/include/KF5/KPty/kptydevice.h
/usr/include/KF5/KPty/kptyprocess.h
/usr/include/KF5/kpty_version.h
/usr/lib64/cmake/KF5Pty
/usr/lib64/cmake/KF5Pty/KF5PtyConfig.cmake
/usr/lib64/cmake/KF5Pty/KF5PtyConfigVersion.cmake
/usr/lib64/cmake/KF5Pty/KF5PtyTargets-release.cmake
/usr/lib64/cmake/KF5Pty/KF5PtyTargets.cmake
/usr/lib64/libKF5Pty.so
/usr/lib64/qt5/mkspecs/modules/qt_KPty.pri

References

Summary

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