How To Install rubygem-file-tail on Fedora 36

In this tutorial we learn how to install rubygem-file-tail in Fedora 36. rubygem-file-tail is File

Introduction

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

What is rubygem-file-tail

Library to tail files in Ruby.

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

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

sudo dnf -y install rubygem-file-tail

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

sudo yum -y install rubygem-file-tail

How To Uninstall rubygem-file-tail on Fedora 36

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

sudo dnf remove rubygem-file-tail

rubygem-file-tail Package Contents on Fedora 36

/usr/bin/rtail
/usr/share/gems/gems/file-tail-1.2.0
/usr/share/gems/gems/file-tail-1.2.0/COPYING
/usr/share/gems/gems/file-tail-1.2.0/bin
/usr/share/gems/gems/file-tail-1.2.0/bin/rtail
/usr/share/gems/gems/file-tail-1.2.0/lib
/usr/share/gems/gems/file-tail-1.2.0/lib/file
/usr/share/gems/gems/file-tail-1.2.0/lib/file-tail.rb
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail.rb
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/group.rb
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/line_extension.rb
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/logfile.rb
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/tailer.rb
/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/version.rb
/usr/share/gems/specifications/file-tail-1.2.0.gemspec

References

Summary

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