How To Install liblockfile on Fedora 34
Introduction
In this tutorial we learn how to install liblockfile
on Fedora 34.
What is liblockfile
This library implements a number of functions found in -lmail on SysV systems. These functions are designed to lock the standard mailboxes in /var/mail (or wherever the system puts them). In additions, this library adds a number of functions to create, manage and remove generic lockfiles. liblockfile 1.14 7.fc34 x86_64 28 k liblockfile-1.14-7.fc34.src.rpm fedora This implements a number of functions found in -lmail on SysV systems http GPLv2+ and LGPLv2+ This library implements a number of functions found in -lmail on SysV systems. These functions are designed to lock the standard mailboxes in /var/mail (or wherever the system puts them). In additions, this library adds a number of functions to create, manage and remove generic lockfiles.
We can use yum
or dnf
to install liblockfile
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install liblockfile.
Install liblockfile 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 liblockfile
using dnf
by running the following command:
sudo dnf -y install liblockfile
Install liblockfile 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 liblockfile
using yum
by running the following command:
sudo yum -y install liblockfile
How To Uninstall liblockfile on Fedora 34
To uninstall only the liblockfile
package we can use the following command:
sudo dnf remove liblockfile
liblockfile Package Contents on Fedora 34
/usr/bin/dotlockfile
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/22bc92c1e2823315d554ce8ad0b73b57397ef4
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/864d6373a31eaf617c13cc9ef11d5d78145e52
/usr/lib/liblockfile.so.1
/usr/lib/liblockfile.so.1.0
/usr/share/doc/liblockfile
/usr/share/doc/liblockfile/COPYRIGHT
/usr/share/doc/liblockfile/Changelog
/usr/share/doc/liblockfile/README
/usr/share/man/man1/dotlockfile.1.gz
/usr/bin/dotlockfile
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/22d5be7a32d731215695dda87b377be13ba057
/usr/lib/.build-id/98
/usr/lib/.build-id/98/0f8fff7c6e810a33e09e95a809c1bce59123bc
/usr/lib64/liblockfile.so.1
/usr/lib64/liblockfile.so.1.0
/usr/share/doc/liblockfile
/usr/share/doc/liblockfile/COPYRIGHT
/usr/share/doc/liblockfile/Changelog
/usr/share/doc/liblockfile/README
/usr/share/man/man1/dotlockfile.1.gz
References
- [liblockfile website](http://packages.qa.debian.org/libl/liblockfile.html http://packages.qa.debian.org/libl/liblockfile.html)
Summary
In this tutorial we learn how to install liblockfile
on Fedora 34 using yum and dnf.