How To Install rubygem-gettext on Rocky Linux 8

In this tutorial we learn how to install rubygem-gettext on Rocky Linux 8. rubygem-gettext is RubyGem of Localization Library and Tools for Ruby

Introduction

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

What is rubygem-gettext

Ruby-GetText-Package is a GNU GetText-like program for Ruby. The catalog file(po-file) is same format with GNU GetText. So you can use GNU GetText tools for maintaining. This package provides gem for Ruby-Gettext-Package.

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

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

sudo dnf -y install rubygem-gettext

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

sudo yum -y install rubygem-gettext

How To Uninstall rubygem-gettext on Rocky Linux 8

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

sudo dnf remove rubygem-gettext

rubygem-gettext Package Contents on Rocky Linux 8

/usr/bin/rmsgcat
/usr/bin/rmsgfmt
/usr/bin/rmsginit
/usr/bin/rmsgmerge
/usr/bin/rxgettext
/usr/share/gems/gems/gettext-3.3.2
/usr/share/gems/gems/gettext-3.3.2/README.md
/usr/share/gems/gems/gettext-3.3.2/bin
/usr/share/gems/gems/gettext-3.3.2/bin/rmsgcat
/usr/share/gems/gems/gettext-3.3.2/bin/rmsgfmt
/usr/share/gems/gems/gettext-3.3.2/bin/rmsginit
/usr/share/gems/gems/gettext-3.3.2/bin/rmsgmerge
/usr/share/gems/gems/gettext-3.3.2/bin/rxgettext
/usr/share/gems/gems/gettext-3.3.2/doc
/usr/share/gems/gems/gettext-3.3.2/doc/text
/usr/share/gems/gems/gettext-3.3.2/doc/text/gpl-2.0.txt
/usr/share/gems/gems/gettext-3.3.2/doc/text/lgpl-3.0.txt
/usr/share/gems/gems/gettext-3.3.2/doc/text/news.md
/usr/share/gems/gems/gettext-3.3.2/doc/text/ruby-license.txt
/usr/share/gems/gems/gettext-3.3.2/lib
/usr/share/gems/gems/gettext-3.3.2/lib/gettext
/usr/share/gems/gems/gettext-3.3.2/lib/gettext.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/cgi.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/class_info.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/locale_path.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/mo.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/po.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/po_entry.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/po_format.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/po_parser.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/text_domain.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/text_domain_group.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/text_domain_manager.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/msgcat.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/msgfmt.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/msginit.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/msgmerge.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/parser
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/parser/erb.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/parser/glade.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/parser/gtk_builder_ui_definitions.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/parser/ruby.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/task.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/tools/xgettext.rb
/usr/share/gems/gems/gettext-3.3.2/lib/gettext/version.rb
/usr/share/gems/gems/gettext-3.3.2/locale
/usr/share/gems/gems/gettext-3.3.2/locale/bg
/usr/share/gems/gems/gettext-3.3.2/locale/bg/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/bg/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/bs
/usr/share/gems/gems/gettext-3.3.2/locale/bs/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/bs/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/ca
/usr/share/gems/gems/gettext-3.3.2/locale/ca/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/ca/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/cs
/usr/share/gems/gems/gettext-3.3.2/locale/cs/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/cs/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/de
/usr/share/gems/gems/gettext-3.3.2/locale/de/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/de/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/el
/usr/share/gems/gems/gettext-3.3.2/locale/el/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/el/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/eo
/usr/share/gems/gems/gettext-3.3.2/locale/eo/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/eo/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/es
/usr/share/gems/gems/gettext-3.3.2/locale/es/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/es/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/et
/usr/share/gems/gems/gettext-3.3.2/locale/et/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/et/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/fr
/usr/share/gems/gems/gettext-3.3.2/locale/fr/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/fr/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/hr
/usr/share/gems/gems/gettext-3.3.2/locale/hr/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/hr/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/hu
/usr/share/gems/gems/gettext-3.3.2/locale/hu/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/hu/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/it
/usr/share/gems/gems/gettext-3.3.2/locale/it/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/it/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/ja
/usr/share/gems/gems/gettext-3.3.2/locale/ja/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/ja/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/ko
/usr/share/gems/gems/gettext-3.3.2/locale/ko/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/ko/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/lv
/usr/share/gems/gems/gettext-3.3.2/locale/lv/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/lv/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/nb
/usr/share/gems/gems/gettext-3.3.2/locale/nb/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/nb/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/nl
/usr/share/gems/gems/gettext-3.3.2/locale/nl/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/nl/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/pt_BR
/usr/share/gems/gems/gettext-3.3.2/locale/pt_BR/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/pt_BR/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/ru
/usr/share/gems/gems/gettext-3.3.2/locale/ru/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/ru/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/sr
/usr/share/gems/gems/gettext-3.3.2/locale/sr/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/sr/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/sv
/usr/share/gems/gems/gettext-3.3.2/locale/sv/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/sv/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/uk
/usr/share/gems/gems/gettext-3.3.2/locale/uk/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/uk/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/vi
/usr/share/gems/gems/gettext-3.3.2/locale/vi/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/vi/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/zh
/usr/share/gems/gems/gettext-3.3.2/locale/zh/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/zh/LC_MESSAGES/gettext.mo
/usr/share/gems/gems/gettext-3.3.2/locale/zh_TW
/usr/share/gems/gems/gettext-3.3.2/locale/zh_TW/LC_MESSAGES
/usr/share/gems/gems/gettext-3.3.2/locale/zh_TW/LC_MESSAGES/gettext.mo
/usr/share/gems/specifications/gettext-3.3.2.gemspec

References

Summary

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