How To Install php-gliph on Fedora 36
Introduction
In this tutorial we learn how to install php-gliph
on Fedora 36.
What is php-gliph
Gliph is a graph library for PHP. It provides graph building blocks and data structures for use by other PHP applications. It is (currently) designed for use with in-memory graphs, not for interaction with a graph database like Neo4J (http Autoloader
We can use yum
or dnf
to install php-gliph
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-gliph.
Install php-gliph 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-gliph
using dnf
by running the following command:
sudo dnf -y install php-gliph
Install php-gliph 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-gliph
using yum
by running the following command:
sudo yum -y install php-gliph
How To Uninstall php-gliph on Fedora 36
To uninstall only the php-gliph
package we can use the following command:
sudo dnf remove php-gliph
php-gliph Package Contents on Fedora 36
/usr/share/doc/php-gliph
/usr/share/doc/php-gliph/README.md
/usr/share/doc/php-gliph/composer.json
/usr/share/licenses/php-gliph
/usr/share/licenses/php-gliph/LICENSE
/usr/share/php/Gliph
/usr/share/php/Gliph/Algorithm
/usr/share/php/Gliph/Algorithm/ConnectedComponent.php
/usr/share/php/Gliph/Exception
/usr/share/php/Gliph/Exception/InvalidVertexTypeException.php
/usr/share/php/Gliph/Exception/NonexistentVertexException.php
/usr/share/php/Gliph/Exception/OutOfRangeException.php
/usr/share/php/Gliph/Exception/RuntimeException.php
/usr/share/php/Gliph/Exception/WrongVisitorStateException.php
/usr/share/php/Gliph/Graph
/usr/share/php/Gliph/Graph/AdjacencyList.php
/usr/share/php/Gliph/Graph/DirectedAdjacencyList.php
/usr/share/php/Gliph/Graph/DirectedGraph.php
/usr/share/php/Gliph/Graph/Graph.php
/usr/share/php/Gliph/Graph/MutableDirectedGraph.php
/usr/share/php/Gliph/Graph/MutableGraph.php
/usr/share/php/Gliph/Graph/MutableUndirectedGraph.php
/usr/share/php/Gliph/Graph/UndirectedAdjacencyList.php
/usr/share/php/Gliph/Traversal
/usr/share/php/Gliph/Traversal/DepthFirst.php
/usr/share/php/Gliph/Visitor
/usr/share/php/Gliph/Visitor/DepthFirstBasicVisitor.php
/usr/share/php/Gliph/Visitor/DepthFirstNoOpVisitor.php
/usr/share/php/Gliph/Visitor/DepthFirstToposortVisitor.php
/usr/share/php/Gliph/Visitor/DepthFirstVisitorInterface.php
/usr/share/php/Gliph/Visitor/SimpleStatefulDepthFirstVisitor.php
/usr/share/php/Gliph/Visitor/StatefulDepthFirstVisitor.php
/usr/share/php/Gliph/Visitor/StatefulVisitorInterface.php
/usr/share/php/Gliph/Visitor/TarjanSCCVisitor.php
/usr/share/php/Gliph/autoload.php
References
Summary
In this tutorial we learn how to install php-gliph
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).