How To Install slock on Fedora 36
Introduction
In this tutorial we learn how to install slock
on Fedora 36.
What is slock
This is the simplest X screen locker we are aware of. It is stable and quite a lot people in this community are using it every day when they are out with friends or fetching some food from the local pub.
We can use yum
or dnf
to install slock
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install slock.
Install slock 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 slock
using dnf
by running the following command:
sudo dnf -y install slock
Install slock 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 slock
using yum
by running the following command:
sudo yum -y install slock
How To Uninstall slock on Fedora 36
To uninstall only the slock
package we can use the following command:
sudo dnf remove slock
slock Package Contents on Fedora 36
/usr/bin/slock
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/2eb7a5539fd9b1bdffec56a845cbbc72e0611d
/usr/share/doc/slock
/usr/share/doc/slock/README
/usr/share/licenses/slock
/usr/share/licenses/slock/LICENSE
/usr/share/man/man1/slock.1.gz
References
Summary
In this tutorial we learn how to install slock
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).