How To Install php-gettext-gettext on Fedora 36

In this tutorial we learn how to install php-gettext-gettext in Fedora 36. php-gettext-gettext is PHP gettext manager

Introduction

In this tutorial we learn how to install php-gettext-gettext on Fedora 36.

What is php-gettext-gettext

Gettext is a PHP (5.3) library to import/export/edit gettext from PO, MO, PHP, JS files, etc. Autoloader

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

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

sudo dnf -y install php-gettext-gettext

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

sudo yum -y install php-gettext-gettext

How To Uninstall php-gettext-gettext on Fedora 36

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

sudo dnf remove php-gettext-gettext

php-gettext-gettext Package Contents on Fedora 36

/usr/share/doc/php-gettext-gettext
/usr/share/doc/php-gettext-gettext/CHANGELOG.md
/usr/share/doc/php-gettext-gettext/CONTRIBUTING.md
/usr/share/doc/php-gettext-gettext/README.md
/usr/share/doc/php-gettext-gettext/composer.json
/usr/share/licenses/php-gettext-gettext
/usr/share/licenses/php-gettext-gettext/LICENSE
/usr/share/php/Gettext/Comments.php
/usr/share/php/Gettext/Flags.php
/usr/share/php/Gettext/Generator
/usr/share/php/Gettext/Generator/Generator.php
/usr/share/php/Gettext/Generator/GeneratorInterface.php
/usr/share/php/Gettext/Generator/MoGenerator.php
/usr/share/php/Gettext/Generator/PoGenerator.php
/usr/share/php/Gettext/Headers.php
/usr/share/php/Gettext/Loader
/usr/share/php/Gettext/Loader/Loader.php
/usr/share/php/Gettext/Loader/LoaderInterface.php
/usr/share/php/Gettext/Loader/MoLoader.php
/usr/share/php/Gettext/Loader/PoLoader.php
/usr/share/php/Gettext/Merge.php
/usr/share/php/Gettext/References.php
/usr/share/php/Gettext/Scanner
/usr/share/php/Gettext/Scanner/CodeScanner.php
/usr/share/php/Gettext/Scanner/FunctionsHandlersTrait.php
/usr/share/php/Gettext/Scanner/FunctionsScannerInterface.php
/usr/share/php/Gettext/Scanner/ParsedFunction.php
/usr/share/php/Gettext/Scanner/Scanner.php
/usr/share/php/Gettext/Scanner/ScannerInterface.php
/usr/share/php/Gettext/Translation.php
/usr/share/php/Gettext/Translations.php
/usr/share/php/Gettext/autoload.php

References

Summary

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