How To Install lockfile-progs on Fedora 36

In this tutorial we learn how to install lockfile-progs in Fedora 36. lockfile-progs is Command-line programs to safely lock and unlock files and mailboxes

Introduction

In this tutorial we learn how to install lockfile-progs on Fedora 36.

What is lockfile-progs

lockfile-progs provide a method to lock and unlock mailboxes and files safely (via liblockfile).

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

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

sudo dnf -y install lockfile-progs

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

sudo yum -y install lockfile-progs

How To Uninstall lockfile-progs on Fedora 36

To uninstall only the lockfile-progs package we can use the following command:

sudo dnf remove lockfile-progs

lockfile-progs Package Contents on Fedora 36

/usr/bin/lockfile-check
/usr/bin/lockfile-create
/usr/bin/lockfile-remove
/usr/bin/lockfile-touch
/usr/bin/mail-lock
/usr/bin/mail-touchlock
/usr/bin/mail-unlock
/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/430f77923063e8e76d95b1d14644c459c0912e
/usr/lib/.build-id/72/430f77923063e8e76d95b1d14644c459c0912e.1
/usr/share/doc/lockfile-progs
/usr/share/doc/lockfile-progs/COPYING
/usr/share/man/man1/lockfile-check.1.gz
/usr/share/man/man1/lockfile-create.1.gz
/usr/share/man/man1/lockfile-progs.1.gz
/usr/share/man/man1/lockfile-remove.1.gz
/usr/share/man/man1/lockfile-touch.1.gz
/usr/share/man/man1/mail-lock.1.gz
/usr/share/man/man1/mail-touchlock.1.gz
/usr/share/man/man1/mail-unlock.1.gz

References

Summary

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