How To Install php-opis-closure on Fedora 36
Introduction
In this tutorial we learn how to install php-opis-closure
on Fedora 36.
What is php-opis-closure
Opis Closure is a library that aims to overcome PHP’s limitations regarding closure serialization by providing a wrapper that will make all closures serializable. Autoloader
We can use yum
or dnf
to install php-opis-closure
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-opis-closure.
Install php-opis-closure 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-opis-closure
using dnf
by running the following command:
sudo dnf -y install php-opis-closure
Install php-opis-closure 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-opis-closure
using yum
by running the following command:
sudo yum -y install php-opis-closure
How To Uninstall php-opis-closure on Fedora 36
To uninstall only the php-opis-closure
package we can use the following command:
sudo dnf remove php-opis-closure
php-opis-closure Package Contents on Fedora 36
/usr/share/doc/php-opis-closure
/usr/share/doc/php-opis-closure/CHANGELOG.md
/usr/share/doc/php-opis-closure/README.md
/usr/share/doc/php-opis-closure/composer.json
/usr/share/licenses/php-opis-closure
/usr/share/licenses/php-opis-closure/LICENSE
/usr/share/licenses/php-opis-closure/NOTICE
/usr/share/php/Opis
/usr/share/php/Opis/Closure
/usr/share/php/Opis/Closure/Analyzer.php
/usr/share/php/Opis/Closure/ClosureContext.php
/usr/share/php/Opis/Closure/ClosureScope.php
/usr/share/php/Opis/Closure/ClosureStream.php
/usr/share/php/Opis/Closure/ISecurityProvider.php
/usr/share/php/Opis/Closure/ReflectionClosure.php
/usr/share/php/Opis/Closure/SecurityException.php
/usr/share/php/Opis/Closure/SecurityProvider.php
/usr/share/php/Opis/Closure/SelfReference.php
/usr/share/php/Opis/Closure/SerializableClosure.php
/usr/share/php/Opis/Closure/autoload.php
/usr/share/php/Opis/Closure/functions.php
References
Summary
In this tutorial we learn how to install php-opis-closure
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).