How To Install go-xgettext on Fedora 36
Introduction
In this tutorial we learn how to install go-xgettext on Fedora 36.
What is go-xgettext
The go-xgettext program is an implementation of xgettext implemented in go. It can reliably parse go source files to identify content to translate.
We can use yum or dnf to install go-xgettext on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install go-xgettext.
Install go-xgettext 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 go-xgettext using dnf by running the following command:
sudo dnf -y install go-xgettext
Install go-xgettext 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 go-xgettext using yum by running the following command:
sudo yum -y install go-xgettext
How To Uninstall go-xgettext on Fedora 36
To uninstall only the go-xgettext package we can use the following command:
sudo dnf remove go-xgettext
go-xgettext Package Contents on Fedora 36
/usr/bin/go-xgettext
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/57f5c82ec8986e0d7b45cb5b847311087477f6
/usr/share/doc/go-xgettext
/usr/share/doc/go-xgettext/README.md
/usr/share/doc/go-xgettext/_examples
/usr/share/doc/go-xgettext/_examples/de_DE.utf8
/usr/share/doc/go-xgettext/_examples/de_DE.utf8/LC_MESSAGES
/usr/share/doc/go-xgettext/_examples/de_DE.utf8/LC_MESSAGES/example.mo
/usr/share/doc/go-xgettext/_examples/de_DE.utf8/example.pot
/usr/share/doc/go-xgettext/_examples/es_MX.utf8
/usr/share/doc/go-xgettext/_examples/es_MX.utf8/LC_MESSAGES
/usr/share/doc/go-xgettext/_examples/es_MX.utf8/LC_MESSAGES/example.mo
/usr/share/doc/go-xgettext/_examples/es_MX.utf8/example.pot
/usr/share/doc/go-xgettext/_examples/gettext.go
/usr/share/licenses/go-xgettext
/usr/share/licenses/go-xgettext/LICENSE
References
Summary
In this tutorial we learn how to install go-xgettext on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).