How To Install xautolock on Fedora 36

In this tutorial we learn how to install xautolock in Fedora 36. xautolock is Launches a program when your X session has been idle

Introduction

In this tutorial we learn how to install xautolock on Fedora 36.

What is xautolock

A program that launches a given program when your X session has been idle for a given time.

We can use yum or dnf to install xautolock on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xautolock.

Install xautolock on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xautolock using dnf by running the following command:

sudo dnf -y install xautolock

Install xautolock on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xautolock using yum by running the following command:

sudo yum -y install xautolock

How To Uninstall xautolock on Fedora 36

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

sudo dnf remove xautolock

xautolock Package Contents on Fedora 36

/usr/bin/xautolock
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/f60481e2764308e07c0d93ac781a7398f9600f
/usr/share/doc/xautolock
/usr/share/doc/xautolock/Changelog
/usr/share/doc/xautolock/License
/usr/share/doc/xautolock/Readme
/usr/share/doc/xautolock/Todo
/usr/share/man/man1/xautolock.1x.gz

References

Summary

In this tutorial we learn how to install xautolock on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).