How To Install gettext on Rocky Linux 8
Introduction
In this tutorial we learn how to install gettext
on Rocky Linux 8.
What is gettext
The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs. Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated messages, and stand-alone programs for handling the translatable and the already translated strings. Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.
We can use yum
or dnf
to install gettext
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gettext.
Install 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 gettext
using dnf
by running the following command:
sudo dnf -y install gettext
Install 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 gettext
using yum
by running the following command:
sudo yum -y install gettext
How To Uninstall gettext on Rocky Linux 8
To uninstall only the gettext
package we can use the following command:
sudo dnf remove gettext
gettext Package Contents on Rocky Linux 8
/usr/bin/envsubst
/usr/bin/gettext
/usr/bin/gettext.sh
/usr/bin/msgattrib
/usr/bin/msgcat
/usr/bin/msgcmp
/usr/bin/msgcomm
/usr/bin/msgconv
/usr/bin/msgen
/usr/bin/msgexec
/usr/bin/msgfilter
/usr/bin/msgfmt
/usr/bin/msggrep
/usr/bin/msginit
/usr/bin/msgmerge
/usr/bin/msgunfmt
/usr/bin/msguniq
/usr/bin/ngettext
/usr/bin/recode-sr-latin
/usr/bin/xgettext
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/b70e388c877adeb25318fd3b637026c92df46e
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/c659ed0a5278994acd4fc7192633da8beee05a
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/1e444175a68f008f0e529be717b54c163278a6
/usr/lib/.build-id/13
/usr/lib/.build-id/13/3ff1a2f89191b8f659a0d42a14058e622d50ed
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/5b98197ac3cdb31abda46f86497ee797dee7c1
/usr/lib/.build-id/50
/usr/lib/.build-id/50/a859610d4404caa8fb4476592ff6112bef7232
/usr/lib/.build-id/53
/usr/lib/.build-id/53/e38371919fb5f9b429e69453ef74f4ca76ac79
/usr/lib/.build-id/57
/usr/lib/.build-id/57/cf3c33ff2fa3d64aec9933e720d70df86aedba
/usr/lib/.build-id/65
/usr/lib/.build-id/65/cf734560d267eb403475629f5ee29c1846bf51
/usr/lib/.build-id/73
/usr/lib/.build-id/73/3bd356e9be2813e92fde3eae1ba2b96a092265
/usr/lib/.build-id/81
/usr/lib/.build-id/81/30267e85117a89989ac8cf53642236b9c1da1f
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/7f3279abd0480ba5b2273269d8b47080279318
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/c26e594406768a231dd916a64d881ac3863455
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/ef5e4451def8e0c5e7777dd9cf044153f03ccc
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/5ae20d4fe6677285d948f81251abde078d8029
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/a860cb7a1f8b914135d21b88cb76349792bc7b
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/c64901438d9d93d73cd031f18e9fe756fdd76b
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/085f8e79fcc67a0de0d158cdd5fcd681ec2ede
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/abe70c55da99df483cc45021bc8404a0c68099
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/242c82a2f8d5632f00b066f9442fde9dad23cc
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/3c318b45c31fc471b28b7a5877b2ce4115ba80
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/35b2cb9641838a87932bb797e5e8390eae6589
/usr/lib64/gettext
/usr/lib64/gettext/cldr-plurals
/usr/lib64/gettext/hostname
/usr/lib64/gettext/project-id
/usr/lib64/gettext/urlget
/usr/lib64/gettext/user-email
/usr/share/doc/gettext
/usr/share/doc/gettext/AUTHORS
/usr/share/doc/gettext/BUGS
/usr/share/doc/gettext/COPYING
/usr/share/doc/gettext/COPYING.LIB
/usr/share/doc/gettext/DISCLAIM
/usr/share/doc/gettext/NEWS
/usr/share/doc/gettext/README
/usr/share/doc/gettext/THANKS
/usr/share/doc/gettext/envsubst.1.html
/usr/share/doc/gettext/gettext.1.html
/usr/share/doc/gettext/ngettext.1.html
/usr/share/gettext
/usr/share/gettext-0.19.8
/usr/share/gettext-0.19.8/its
/usr/share/gettext-0.19.8/its/appdata.its
/usr/share/gettext-0.19.8/its/appdata.loc
/usr/share/gettext-0.19.8/its/glade.loc
/usr/share/gettext-0.19.8/its/glade1.its
/usr/share/gettext-0.19.8/its/glade2.its
/usr/share/gettext-0.19.8/its/gsettings.its
/usr/share/gettext-0.19.8/its/gsettings.loc
/usr/share/gettext-0.19.8/its/gtkbuilder.its
/usr/share/gettext/ABOUT-NLS
/usr/share/gettext/its
/usr/share/gettext/po
/usr/share/gettext/po/Makefile.in.in
/usr/share/gettext/po/Makevars.template
/usr/share/gettext/po/Rules-quot
/usr/share/gettext/po/boldquot.sed
/usr/share/gettext/po/[email protected]
/usr/share/gettext/po/[email protected]
/usr/share/gettext/po/insert-header.sin
/usr/share/gettext/po/quot.sed
/usr/share/gettext/po/remove-potcdate.sin
/usr/share/gettext/styles
/usr/share/gettext/styles/po-default.css
/usr/share/gettext/styles/po-emacs-x.css
/usr/share/gettext/styles/po-emacs-xterm.css
/usr/share/gettext/styles/po-emacs-xterm16.css
/usr/share/gettext/styles/po-emacs-xterm256.css
/usr/share/gettext/styles/po-vim.css
/usr/share/info/gettext.info.gz
/usr/share/locale/be/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/be/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/bg/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/bg/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ca/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ca/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/cs/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/cs/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/da/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/da/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/de/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/de/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/el/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/el/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/en@quot/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/eo/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/es/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/es/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/et/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/et/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/eu/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/fi/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/fi/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/fr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/fr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ga/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/gl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/gl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/hr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/hu/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/id/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/id/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/it/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/it/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ja/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ja/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ko/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ko/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/nb/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/nb/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/nl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/nl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/nn/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/nn/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pa/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/pl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pt/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/pt/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ro/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ro/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ru/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ru/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sk/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sk/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sv/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sv/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/tr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/tr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/uk/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/uk/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/vi/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/vi/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo
/usr/share/man/man1/envsubst.1.gz
/usr/share/man/man1/gettext.1.gz
/usr/share/man/man1/gettextize.1.gz
/usr/share/man/man1/msgattrib.1.gz
/usr/share/man/man1/msgcat.1.gz
/usr/share/man/man1/msgcmp.1.gz
/usr/share/man/man1/msgcomm.1.gz
/usr/share/man/man1/msgconv.1.gz
/usr/share/man/man1/msgen.1.gz
/usr/share/man/man1/msgexec.1.gz
/usr/share/man/man1/msgfilter.1.gz
/usr/share/man/man1/msgfmt.1.gz
/usr/share/man/man1/msggrep.1.gz
/usr/share/man/man1/msginit.1.gz
/usr/share/man/man1/msgmerge.1.gz
/usr/share/man/man1/msgunfmt.1.gz
/usr/share/man/man1/msguniq.1.gz
/usr/share/man/man1/ngettext.1.gz
/usr/share/man/man1/recode-sr-latin.1.gz
/usr/share/man/man1/xgettext.1.gz
References
Summary
In this tutorial we learn how to install gettext
on Rocky Linux 8 using yum and dnf.