How To Install rubygem-text on Rocky Linux 8

In this tutorial we learn how to install rubygem-text on Rocky Linux 8. rubygem-text is Collection of text algorithms

Introduction

In this tutorial we learn how to install rubygem-text on Rocky Linux 8.

What is rubygem-text

A collection of text algorithms Metaphone, Figlet, Porter Stemming

We can use yum or dnf to install rubygem-text on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-text.

Install rubygem-text on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rubygem-text

Install rubygem-text on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-text using yum by running the following command:

sudo yum -y install rubygem-text

How To Uninstall rubygem-text on Rocky Linux 8

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

sudo dnf remove rubygem-text

rubygem-text Package Contents on Rocky Linux 8

/usr/share/gems/gems/text-1.3.1
/usr/share/gems/gems/text-1.3.1/COPYING.txt
/usr/share/gems/gems/text-1.3.1/README.rdoc
/usr/share/gems/gems/text-1.3.1/lib
/usr/share/gems/gems/text-1.3.1/lib/text
/usr/share/gems/gems/text-1.3.1/lib/text.rb
/usr/share/gems/gems/text-1.3.1/lib/text/double_metaphone.rb
/usr/share/gems/gems/text-1.3.1/lib/text/levenshtein.rb
/usr/share/gems/gems/text-1.3.1/lib/text/metaphone.rb
/usr/share/gems/gems/text-1.3.1/lib/text/porter_stemming.rb
/usr/share/gems/gems/text-1.3.1/lib/text/soundex.rb
/usr/share/gems/gems/text-1.3.1/lib/text/version.rb
/usr/share/gems/gems/text-1.3.1/lib/text/white_similarity.rb
/usr/share/gems/specifications/text-1.3.1.gemspec

References

Summary

In this tutorial we learn how to install rubygem-text on Rocky Linux 8 using yum and dnf.