How To Install php-phar-io-version on Fedora 36

In this tutorial we learn how to install php-phar-io-version in Fedora 36. php-phar-io-version is Library for handling version information and constraints

Introduction

In this tutorial we learn how to install php-phar-io-version on Fedora 36.

What is php-phar-io-version

Library for handling version information and constraints. Autoloader

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

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

sudo dnf -y install php-phar-io-version

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

sudo yum -y install php-phar-io-version

How To Uninstall php-phar-io-version on Fedora 36

To uninstall only the php-phar-io-version package we can use the following command:

sudo dnf remove php-phar-io-version

php-phar-io-version Package Contents on Fedora 36

/usr/share/doc/php-phar-io-version
/usr/share/doc/php-phar-io-version/README.md
/usr/share/doc/php-phar-io-version/composer.json
/usr/share/licenses/php-phar-io-version
/usr/share/licenses/php-phar-io-version/LICENSE
/usr/share/php/PharIo
/usr/share/php/PharIo/Version
/usr/share/php/PharIo/Version/PreReleaseSuffix.php
/usr/share/php/PharIo/Version/Version.php
/usr/share/php/PharIo/Version/VersionConstraintParser.php
/usr/share/php/PharIo/Version/VersionConstraintValue.php
/usr/share/php/PharIo/Version/VersionNumber.php
/usr/share/php/PharIo/Version/autoload.php
/usr/share/php/PharIo/Version/constraints
/usr/share/php/PharIo/Version/constraints/AbstractVersionConstraint.php
/usr/share/php/PharIo/Version/constraints/AndVersionConstraintGroup.php
/usr/share/php/PharIo/Version/constraints/AnyVersionConstraint.php
/usr/share/php/PharIo/Version/constraints/ExactVersionConstraint.php
/usr/share/php/PharIo/Version/constraints/GreaterThanOrEqualToVersionConstraint.php
/usr/share/php/PharIo/Version/constraints/OrVersionConstraintGroup.php
/usr/share/php/PharIo/Version/constraints/SpecificMajorAndMinorVersionConstraint.php
/usr/share/php/PharIo/Version/constraints/SpecificMajorVersionConstraint.php
/usr/share/php/PharIo/Version/constraints/VersionConstraint.php
/usr/share/php/PharIo/Version/exceptions
/usr/share/php/PharIo/Version/exceptions/Exception.php
/usr/share/php/PharIo/Version/exceptions/InvalidPreReleaseSuffixException.php
/usr/share/php/PharIo/Version/exceptions/InvalidVersionException.php
/usr/share/php/PharIo/Version/exceptions/UnsupportedVersionConstraintException.php

References

Summary

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