How To Install rubygem-ensure_valid_encoding on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-ensure_valid_encoding
on Fedora 36.
What is rubygem-ensure_valid_encoding
Replace bad bytes in given encoding with replacement strings, or fail quickly on invalid encodings – without a transcode to a different encoding.
We can use yum
or dnf
to install rubygem-ensure_valid_encoding
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-ensure_valid_encoding.
Install rubygem-ensure_valid_encoding 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-ensure_valid_encoding
using dnf
by running the following command:
sudo dnf -y install rubygem-ensure_valid_encoding
Install rubygem-ensure_valid_encoding 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-ensure_valid_encoding
using yum
by running the following command:
sudo yum -y install rubygem-ensure_valid_encoding
How To Uninstall rubygem-ensure_valid_encoding on Fedora 36
To uninstall only the rubygem-ensure_valid_encoding
package we can use the following command:
sudo dnf remove rubygem-ensure_valid_encoding
rubygem-ensure_valid_encoding Package Contents on Fedora 36
/usr/share/gems/gems/ensure_valid_encoding-0.5.3
/usr/share/gems/gems/ensure_valid_encoding-0.5.3/LICENSE
/usr/share/gems/gems/ensure_valid_encoding-0.5.3/README.md
/usr/share/gems/gems/ensure_valid_encoding-0.5.3/lib
/usr/share/gems/gems/ensure_valid_encoding-0.5.3/lib/ensure_valid_encoding
/usr/share/gems/gems/ensure_valid_encoding-0.5.3/lib/ensure_valid_encoding.rb
/usr/share/gems/gems/ensure_valid_encoding-0.5.3/lib/ensure_valid_encoding/version.rb
/usr/share/gems/specifications/ensure_valid_encoding-0.5.3.gemspec
References
Summary
In this tutorial we learn how to install rubygem-ensure_valid_encoding
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).