How To Install liblockfile on Fedora 36

In this tutorial we learn how to install liblockfile in Fedora 36. liblockfile is This implements a number of functions found in -lmail on SysV systems

Introduction

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

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.

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

Install liblockfile on Fedora 36 Using dnf

Update yum database with dnf using the following command.


title: “How To Install liblockfile on Fedora 36” linkTitle: “liblockfile” type: “docs” description: “In this tutorial we learn how to install liblockfile in Fedora 36. liblockfile is This implements a number of functions found in -lmail on SysV systems” date: “2022-08-17” lastmod: “2022-08-17”

#image: /images/fedora/36/liblockfile-featured.png
sudo dnf makecache --refresh
---

Introduction

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

In this tutorial we learn how to install `liblockfile` on Fedora 36.
sudo dnf -y install liblockfile

What is liblockfile

Install liblockfile on Fedora 36 Using yum

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.

Update yum database with yum using the following command.

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

## Install liblockfile on Fedora 36 Using dnf

Update yum database with dnf using the following command. After updating yum database, We can install liblockfile using yum by running the following command:

```bash
sudo yum -y install liblockfile
sudo dnf makecache --refresh
## How To Uninstall liblockfile on Fedora 36


After updating yum database, We can install `liblockfile` using `dnf` by running the following command:
To uninstall only the `liblockfile` package we can use the following command:


```bash
```bash
sudo dnf remove liblockfile
sudo dnf -y install liblockfile


## liblockfile Package Contents on Fedora 36

## Install liblockfile on Fedora 36 Using yum
```bash

Update yum database with `yum` using the following command.

```bash
sudo yum makecache --refresh

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 36

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

sudo dnf remove liblockfile

liblockfile Package Contents on Fedora 36

/usr/bin/dotlockfile
/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/4d46bdc5574aef2fc5ce610ebfae59e6f8aa16
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/a76f9f08ddb8eab92fa283e124639a97ff5394
/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

References

/usr/bin/dotlockfile /usr/lib/.build-id /usr/lib/.build-id/1d /usr/lib/.build-id/1d/9410fcb76354d069638fd4c836f4a53b5c935a /usr/lib/.build-id/36 /usr/lib/.build-id/36/568de1e1c2fe03301c877dad1aad8918bc1a79 /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

Summary


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


* [liblockfile website](http://packages.qa.debian.org/libl/liblockfile.html)

## Summary

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