How To Install php-nikic-fast-route on Fedora 36

In this tutorial we learn how to install php-nikic-fast-route in Fedora 36. php-nikic-fast-route is Fast implementation of a regular expression based router

Introduction

In this tutorial we learn how to install php-nikic-fast-route on Fedora 36.

What is php-nikic-fast-route

Fast implementation of a regular expression based router. Documentation http Autoloader

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

Install php-nikic-fast-route 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-nikic-fast-route using dnf by running the following command:

sudo dnf -y install php-nikic-fast-route

Install php-nikic-fast-route 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-nikic-fast-route using yum by running the following command:

sudo yum -y install php-nikic-fast-route

How To Uninstall php-nikic-fast-route on Fedora 36

To uninstall only the php-nikic-fast-route package we can use the following command:

sudo dnf remove php-nikic-fast-route

php-nikic-fast-route Package Contents on Fedora 36

/usr/share/doc/php-nikic-fast-route
/usr/share/doc/php-nikic-fast-route/README.md
/usr/share/doc/php-nikic-fast-route/composer.json
/usr/share/licenses/php-nikic-fast-route
/usr/share/licenses/php-nikic-fast-route/LICENSE
/usr/share/php/FastRoute
/usr/share/php/FastRoute/BadRouteException.php
/usr/share/php/FastRoute/DataGenerator
/usr/share/php/FastRoute/DataGenerator.php
/usr/share/php/FastRoute/DataGenerator/CharCountBased.php
/usr/share/php/FastRoute/DataGenerator/GroupCountBased.php
/usr/share/php/FastRoute/DataGenerator/GroupPosBased.php
/usr/share/php/FastRoute/DataGenerator/MarkBased.php
/usr/share/php/FastRoute/DataGenerator/RegexBasedAbstract.php
/usr/share/php/FastRoute/Dispatcher
/usr/share/php/FastRoute/Dispatcher.php
/usr/share/php/FastRoute/Dispatcher/CharCountBased.php
/usr/share/php/FastRoute/Dispatcher/GroupCountBased.php
/usr/share/php/FastRoute/Dispatcher/GroupPosBased.php
/usr/share/php/FastRoute/Dispatcher/MarkBased.php
/usr/share/php/FastRoute/Dispatcher/RegexBasedAbstract.php
/usr/share/php/FastRoute/Route.php
/usr/share/php/FastRoute/RouteCollector.php
/usr/share/php/FastRoute/RouteParser
/usr/share/php/FastRoute/RouteParser.php
/usr/share/php/FastRoute/RouteParser/Std.php
/usr/share/php/FastRoute/autoload.php
/usr/share/php/FastRoute/bootstrap.php
/usr/share/php/FastRoute/functions.php

References

Summary

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