How To Install php-phpunit-php-text-template2 on Fedora 36

In this tutorial we learn how to install php-phpunit-php-text-template2 in Fedora 36. php-phpunit-php-text-template2 is Simple template engine, version 2

Introduction

In this tutorial we learn how to install php-phpunit-php-text-template2 on Fedora 36.

What is php-phpunit-php-text-template2

Simple template engine.

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

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

sudo dnf -y install php-phpunit-php-text-template2

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

sudo yum -y install php-phpunit-php-text-template2

How To Uninstall php-phpunit-php-text-template2 on Fedora 36

To uninstall only the php-phpunit-php-text-template2 package we can use the following command:

sudo dnf remove php-phpunit-php-text-template2

php-phpunit-php-text-template2 Package Contents on Fedora 36

/usr/share/doc/php-phpunit-php-text-template2
/usr/share/doc/php-phpunit-php-text-template2/ChangeLog.md
/usr/share/doc/php-phpunit-php-text-template2/README.md
/usr/share/doc/php-phpunit-php-text-template2/composer.json
/usr/share/licenses/php-phpunit-php-text-template2
/usr/share/licenses/php-phpunit-php-text-template2/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/Template2
/usr/share/php/SebastianBergmann/Template2/Template.php
/usr/share/php/SebastianBergmann/Template2/autoload.php
/usr/share/php/SebastianBergmann/Template2/exceptions
/usr/share/php/SebastianBergmann/Template2/exceptions/Exception.php
/usr/share/php/SebastianBergmann/Template2/exceptions/InvalidArgumentException.php
/usr/share/php/SebastianBergmann/Template2/exceptions/RuntimeException.php

References

Summary

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