How To Install rubygem-escape on Fedora 36

In this tutorial we learn how to install rubygem-escape in Fedora 36. rubygem-escape is HTML/URI/shell escaping utilities

Introduction

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

What is rubygem-escape

Escape library provides several HTML/URI/shell escaping functions.

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

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

sudo dnf -y install rubygem-escape

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

sudo yum -y install rubygem-escape

How To Uninstall rubygem-escape on Fedora 36

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

sudo dnf remove rubygem-escape

rubygem-escape Package Contents on Fedora 36

/usr/share/gems/gems/escape-0.0.4
/usr/share/gems/gems/escape-0.0.4/lib
/usr/share/gems/gems/escape-0.0.4/lib/escape.rb
/usr/share/gems/specifications/escape-0.0.4.gemspec

References

Summary

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