How To Install tlock on Fedora 34

tlock is Terminal lock Terminal lock

Introduction

In this tutorial we learn how to install tlock on Fedora 34.

What is tlock

tlock is a small program intended to lock the terminal until the correct password is supplied by the user. By default ’tlock’ locks the terminal with the user’s login password. tlock 1.6 13.fc34 x86_64 26 k tlock-1.6-13.fc34.src.rpm fedora Terminal lock http GPLv2+ tlock is a small program intended to lock the terminal until the correct password is supplied by the user. By default ’tlock’ locks the terminal with the user’s login password.

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

Install tlock on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install tlock

Install tlock on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install tlock

How To Uninstall tlock on Fedora 34

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

sudo dnf remove tlock

tlock Package Contents on Fedora 34

/usr/bin/tlock
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/37f3fb415fd860c42c625a048563f082f14586
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/61d345bf73a0e47158cbe530347f7875ab8552
/usr/lib/librpass.so.0
/usr/lib/librpass.so.0.0.0
/usr/share/doc/tlock
/usr/share/doc/tlock/COPYING
/usr/share/doc/tlock/README
/usr/share/info/tlock.info.gz
/usr/share/man/man1/tlock.1.gz
/usr/bin/tlock
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/9ae57f8d7d77c3ce19ccc882fadddf44b30efc
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/01fb1629ed680add72c40a76e2e35d1b21d2cd
/usr/lib64/librpass.so.0
/usr/lib64/librpass.so.0.0.0
/usr/share/doc/tlock
/usr/share/doc/tlock/COPYING
/usr/share/doc/tlock/README
/usr/share/info/tlock.info.gz
/usr/share/man/man1/tlock.1.gz

References

Summary

In this tutorial we learn how to install tlock on Fedora 34 using yum and dnf.