How To Install lockdev on Fedora 36

In this tutorial we learn how to install lockdev in Fedora 36. lockdev is A library for locking devices

Introduction

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

What is lockdev

Lockdev provides a reliable way to put an exclusive lock to devices using both FSSTND and SVr4 methods.

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

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

sudo dnf -y install lockdev

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

sudo yum -y install lockdev

How To Uninstall lockdev on Fedora 36

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

sudo dnf remove lockdev

lockdev Package Contents on Fedora 36

/run/lock/lockdev
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/e2a9a62b378a64cc873c5e9f846121fb299cf4
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/d56e048c0fcf25ef79770c8b9159956e8f71da
/usr/lib/liblockdev.so.1
/usr/lib/liblockdev.so.1.0.0
/usr/lib/tmpfiles.d/lockdev.conf
/usr/sbin/lockdev
/usr/share/doc/lockdev
/usr/share/doc/lockdev/AUTHORS
/usr/share/licenses/lockdev
/usr/share/licenses/lockdev/COPYING
/usr/share/man/man8/lockdev.8.gz

References

Summary

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


title: “How To Install lockdev on Fedora 36” linkTitle: “lockdev” type: “docs” description: “In this tutorial we learn how to install lockdev in Fedora 36. lockdev is A library for locking devices” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/lockdev-featured.png

Introduction

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

What is lockdev

Lockdev provides a reliable way to put an exclusive lock to devices using both FSSTND and SVr4 methods.

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

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

sudo dnf -y install lockdev

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

sudo yum -y install lockdev

How To Uninstall lockdev on Fedora 36

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

sudo dnf remove lockdev

lockdev Package Contents on Fedora 36

/run/lock/lockdev
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/e1cbaa5f99ef4b1c4442bcaac954dd5bc82121
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/cc235455f6236d79c9836eb117b8485f23f737
/usr/lib/tmpfiles.d/lockdev.conf
/usr/lib64/liblockdev.so.1
/usr/lib64/liblockdev.so.1.0.0
/usr/sbin/lockdev
/usr/share/doc/lockdev
/usr/share/doc/lockdev/AUTHORS
/usr/share/licenses/lockdev
/usr/share/licenses/lockdev/COPYING
/usr/share/man/man8/lockdev.8.gz

References

Summary

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