How To Install rubygem-rchardet on Fedora 36

In this tutorial we learn how to install rubygem-rchardet in Fedora 36. rubygem-rchardet is Character encoding auto-detection in Ruby

Introduction

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

What is rubygem-rchardet

Character encoding auto-detection in Ruby. As smart as your browser.

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

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

sudo dnf -y install rubygem-rchardet

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

sudo yum -y install rubygem-rchardet

How To Uninstall rubygem-rchardet on Fedora 36

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

sudo dnf remove rubygem-rchardet

rubygem-rchardet Package Contents on Fedora 36

/usr/share/doc/rubygem-rchardet
/usr/share/doc/rubygem-rchardet/Readme.md
/usr/share/gems/gems/rchardet-1.8.0
/usr/share/gems/gems/rchardet-1.8.0/lib
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/big5freq.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/big5prober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/chardistribution.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/charsetgroupprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/charsetprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/codingstatemachine.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/constants.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/escprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/escsm.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/eucjpprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/euckrfreq.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/euckrprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/euctwfreq.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/euctwprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/gb18030freq.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/gb18030prober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/hebrewprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/jisfreq.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/jpcntx.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/langbulgarianmodel.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/langcyrillicmodel.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/langgreekmodel.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/langhebrewmodel.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/langhungarianmodel.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/langthaimodel.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/latin1prober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/mbcharsetprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/mbcsgroupprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/mbcssm.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/sbcharsetprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/sbcsgroupprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/sjisprober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/universaldetector.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/utf8prober.rb
/usr/share/gems/gems/rchardet-1.8.0/lib/rchardet/version.rb
/usr/share/gems/specifications/rchardet-1.8.0.gemspec
/usr/share/licenses/rubygem-rchardet
/usr/share/licenses/rubygem-rchardet/LGPL-LICENSE.txt

References

Summary

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