How To Install rubygem-htmlentities on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-htmlentities
on Fedora 36.
What is rubygem-htmlentities
HTMLEntities is a simple library to facilitate encoding and decoding of named (ý and so on) or numerical ({ or Ī) entities in HTML and XHTML documents.
We can use yum
or dnf
to install rubygem-htmlentities
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-htmlentities.
Install rubygem-htmlentities 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-htmlentities
using dnf
by running the following command:
sudo dnf -y install rubygem-htmlentities
Install rubygem-htmlentities 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-htmlentities
using yum
by running the following command:
sudo yum -y install rubygem-htmlentities
How To Uninstall rubygem-htmlentities on Fedora 36
To uninstall only the rubygem-htmlentities
package we can use the following command:
sudo dnf remove rubygem-htmlentities
rubygem-htmlentities Package Contents on Fedora 36
/usr/share/gems/cache/htmlentities-4.3.4.gem
/usr/share/gems/gems/htmlentities-4.3.4
/usr/share/gems/gems/htmlentities-4.3.4/COPYING.txt
/usr/share/gems/gems/htmlentities-4.3.4/History.txt
/usr/share/gems/gems/htmlentities-4.3.4/lib
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/decoder.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/encoder.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/flavors.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/mappings
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/mappings/expanded.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/mappings/html4.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/mappings/xhtml1.rb
/usr/share/gems/gems/htmlentities-4.3.4/lib/htmlentities/version.rb
/usr/share/gems/specifications/htmlentities-4.3.4.gemspec
References
Summary
In this tutorial we learn how to install rubygem-htmlentities
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).