How To Install php-twig-extensions on Fedora 36
Introduction
In this tutorial we learn how to install php-twig-extensions
on Fedora 36.
What is php-twig-extensions
Common additional features for Twig that do not directly belong in core Twig. Autoloader
We can use yum
or dnf
to install php-twig-extensions
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-twig-extensions.
Install php-twig-extensions 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-twig-extensions
using dnf
by running the following command:
sudo dnf -y install php-twig-extensions
Install php-twig-extensions 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-twig-extensions
using yum
by running the following command:
sudo yum -y install php-twig-extensions
How To Uninstall php-twig-extensions on Fedora 36
To uninstall only the php-twig-extensions
package we can use the following command:
sudo dnf remove php-twig-extensions
php-twig-extensions Package Contents on Fedora 36
/usr/share/doc/php-twig-extensions
/usr/share/doc/php-twig-extensions/README.rst
/usr/share/doc/php-twig-extensions/composer.json
/usr/share/doc/php-twig-extensions/doc
/usr/share/doc/php-twig-extensions/doc/array.rst
/usr/share/doc/php-twig-extensions/doc/date.rst
/usr/share/doc/php-twig-extensions/doc/i18n.rst
/usr/share/doc/php-twig-extensions/doc/index.rst
/usr/share/doc/php-twig-extensions/doc/intl.rst
/usr/share/doc/php-twig-extensions/doc/text.rst
/usr/share/licenses/php-twig-extensions
/usr/share/licenses/php-twig-extensions/LICENSE
/usr/share/php/Twig/Extensions
/usr/share/php/Twig/Extensions/ArrayExtension.php
/usr/share/php/Twig/Extensions/Autoloader.php
/usr/share/php/Twig/Extensions/DateExtension.php
/usr/share/php/Twig/Extensions/Extension
/usr/share/php/Twig/Extensions/Extension/Array.php
/usr/share/php/Twig/Extensions/Extension/Date.php
/usr/share/php/Twig/Extensions/Extension/I18n.php
/usr/share/php/Twig/Extensions/Extension/Intl.php
/usr/share/php/Twig/Extensions/Extension/Text.php
/usr/share/php/Twig/Extensions/Grammar
/usr/share/php/Twig/Extensions/Grammar.php
/usr/share/php/Twig/Extensions/Grammar/Arguments.php
/usr/share/php/Twig/Extensions/Grammar/Array.php
/usr/share/php/Twig/Extensions/Grammar/Body.php
/usr/share/php/Twig/Extensions/Grammar/Boolean.php
/usr/share/php/Twig/Extensions/Grammar/Constant.php
/usr/share/php/Twig/Extensions/Grammar/Expression.php
/usr/share/php/Twig/Extensions/Grammar/Hash.php
/usr/share/php/Twig/Extensions/Grammar/Number.php
/usr/share/php/Twig/Extensions/Grammar/Optional.php
/usr/share/php/Twig/Extensions/Grammar/Switch.php
/usr/share/php/Twig/Extensions/Grammar/Tag.php
/usr/share/php/Twig/Extensions/GrammarInterface.php
/usr/share/php/Twig/Extensions/I18nExtension.php
/usr/share/php/Twig/Extensions/IntlExtension.php
/usr/share/php/Twig/Extensions/Node
/usr/share/php/Twig/Extensions/Node/Trans.php
/usr/share/php/Twig/Extensions/Node/TransNode.php
/usr/share/php/Twig/Extensions/SimpleTokenParser.php
/usr/share/php/Twig/Extensions/TextExtension.php
/usr/share/php/Twig/Extensions/TokenParser
/usr/share/php/Twig/Extensions/TokenParser/Trans.php
/usr/share/php/Twig/Extensions/TokenParser/TransTokenParser.php
/usr/share/php/Twig/Extensions/autoload.php
References
Summary
In this tutorial we learn how to install php-twig-extensions
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).