How To Install rubygem-lockfile on Fedora 36

In this tutorial we learn how to install rubygem-lockfile in Fedora 36. rubygem-lockfile is Ruby library for creating NFS safe lockfiles

Introduction

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

What is rubygem-lockfile

rlock creates NFS resistant lockfiles

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

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

sudo dnf -y install rubygem-lockfile

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

sudo yum -y install rubygem-lockfile

How To Uninstall rubygem-lockfile on Fedora 36

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

sudo dnf remove rubygem-lockfile

rubygem-lockfile Package Contents on Fedora 36

/usr/bin/rlock
/usr/bin/rlock-1.4.3
/usr/share/gems/cache/lockfile-1.4.3.gem
/usr/share/gems/gems/lockfile-1.4.3
/usr/share/gems/gems/lockfile-1.4.3/README
/usr/share/gems/gems/lockfile-1.4.3/bin
/usr/share/gems/gems/lockfile-1.4.3/bin/rlock
/usr/share/gems/gems/lockfile-1.4.3/bin/rlock-1.4.3
/usr/share/gems/gems/lockfile-1.4.3/lib
/usr/share/gems/gems/lockfile-1.4.3/lib/lockfile-1.4.3.rb
/usr/share/gems/gems/lockfile-1.4.3/lib/lockfile.rb
/usr/share/gems/gems/lockfile-1.4.3/license.txt
/usr/share/gems/specifications/lockfile-1.4.3.gemspec

References

Summary

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