How To Install xsecurelock on Rocky Linux 8

In this tutorial we learn how to install xsecurelock on Rocky Linux 8. xsecurelock is X11 screen lock utility with security in mind

Introduction

In this tutorial we learn how to install xsecurelock on Rocky Linux 8.

What is xsecurelock

XSecureLock is an X11 screen lock utility designed with the primary goal of security.

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

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

sudo dnf -y install xsecurelock

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

sudo yum -y install xsecurelock

How To Uninstall xsecurelock on Rocky Linux 8

To uninstall only the xsecurelock package we can use the following command:

sudo dnf remove xsecurelock

xsecurelock Package Contents on Rocky Linux 8

/usr/bin/xsecurelock
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/028934226b2870635dd8595300b3dd7d9cc42d
/usr/lib/.build-id/30
/usr/lib/.build-id/30/142f8705a6b0f05fce748acef4aaddbe54b520
/usr/lib/.build-id/40
/usr/lib/.build-id/40/3e2ddc93c453f91ec0c3d02b3b9ec492b76ffc
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/7ba42b638c8a320b05126a7deb234b9c0d63ea
/usr/lib/.build-id/69
/usr/lib/.build-id/69/d43cf3b57823391ac47e34d5f66d15d988f288
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/edf506ef137804369ffe2f556ac78442363c11
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/8e715d5688dcba1c32c747fea3956f28392dd1
/usr/libexec/xsecurelock/auth_x11
/usr/libexec/xsecurelock/authproto_htpasswd
/usr/libexec/xsecurelock/authproto_pam
/usr/libexec/xsecurelock/authproto_pamtester
/usr/libexec/xsecurelock/dimmer
/usr/libexec/xsecurelock/pgrp_placeholder
/usr/libexec/xsecurelock/saver_blank
/usr/libexec/xsecurelock/saver_multiplex
/usr/libexec/xsecurelock/until_nonidle
/usr/share/doc/xsecurelock
/usr/share/doc/xsecurelock/CONTRIBUTING
/usr/share/doc/xsecurelock/README.md
/usr/share/doc/xsecurelock/examples/saver_livestreams
/usr/share/licenses/xsecurelock
/usr/share/licenses/xsecurelock/LICENSE
/usr/share/man/man1/xsecurelock.1.gz

References

Summary

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