How to Install and Uninstall php-php-gettext Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "php-php-gettext" package

This tutorial shows how to install php-php-gettext on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-php-gettext

2. Uninstall "php-php-gettext" package

Please follow the steps below to uninstall php-php-gettext on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-php-gettext $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-php-gettext package on Ubuntu 21.10 (Impish Indri)

Package: php-php-gettext
Architecture: all
Version: 1.0.12-4
Priority: optional
Section: universe/php
Source: php-gettext
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 85
Depends: php-pear, php-mbstring
Filename: pool/universe/p/php-gettext/php-php-gettext_1.0.12-4_all.deb
Size: 19364
MD5sum: a7ba357cdd3e930df04ced258d236aec
SHA1: 520910aea618a7f067d6a13ba159c1eedf9d2f7e
SHA256: b8825c119b017074335d1a40e6c164d27a8b5bfe73575f33bb563b0a9266ffbd
SHA512: 86c48ae7c0d47d5df481449b4f5b80267f5ad4f1c97e5aaf8ef8e1996ff08cc17aa109f6fbfc3e9c797f4baee23e92116048c2fa0051e75357841a5525521f5c
Homepage: https://launchpad.net/php-gettext/
Description-en: read gettext MO files directly, without requiring anything other than PHP
The GNU gettext library is a widely used localization library, but in
order to use it with the PHP language, the system has to support the
desired locale, and library itself must be installed.
.
Since this is not always the case, PHP-gettext has been developed to be
able to read gettext MO files directly, without requiring anything other
than PHP.
.
Currently, it's usable if you develop most of the infrastructure for
choosing language on your own, because it's possible to use both
gettext() and ngettext() calls. In the near future, it should also be
fully compatible drop-in replacement for all of gettext functionality
written in PHP.
Description-md5: 403def874de6f8841d4a7707af10f20f