How To Install php-phpunit-git on Fedora 36

In this tutorial we learn how to install php-phpunit-git in Fedora 36. php-phpunit-git is Simple wrapper for Git

Introduction

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

What is php-phpunit-git

Simple PHP wrapper for Git.

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

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

sudo dnf -y install php-phpunit-git

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

sudo yum -y install php-phpunit-git

How To Uninstall php-phpunit-git on Fedora 36

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

sudo dnf remove php-phpunit-git

php-phpunit-git Package Contents on Fedora 36

/usr/share/doc/php-phpunit-git
/usr/share/doc/php-phpunit-git/README.md
/usr/share/doc/php-phpunit-git/composer.json
/usr/share/licenses/php-phpunit-git
/usr/share/licenses/php-phpunit-git/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/Git
/usr/share/php/SebastianBergmann/Git/Exception
/usr/share/php/SebastianBergmann/Git/Exception/Exception.php
/usr/share/php/SebastianBergmann/Git/Exception/RuntimeException.php
/usr/share/php/SebastianBergmann/Git/Git.php
/usr/share/php/SebastianBergmann/Git/autoload.php

References

Summary

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