How To Install php-laminas-file on Fedora 36

In this tutorial we learn how to install php-laminas-file in Fedora 36. php-laminas-file is Laminas Framework File component

Introduction

In this tutorial we learn how to install php-laminas-file on Fedora 36.

What is php-laminas-file

Laminas\File is a component used to manage file transfer and class autoloading. Documentation

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

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

sudo dnf -y install php-laminas-file

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

sudo yum -y install php-laminas-file

How To Uninstall php-laminas-file on Fedora 36

To uninstall only the php-laminas-file package we can use the following command:

sudo dnf remove php-laminas-file

php-laminas-file Package Contents on Fedora 36

/usr/share/doc/php-laminas-file
/usr/share/doc/php-laminas-file/COPYRIGHT.md
/usr/share/doc/php-laminas-file/README.md
/usr/share/doc/php-laminas-file/composer.json
/usr/share/licenses/php-laminas-file
/usr/share/licenses/php-laminas-file/LICENSE
/usr/share/php/Laminas/File
/usr/share/php/Laminas/File/ClassFileLocator.php
/usr/share/php/Laminas/File/Exception
/usr/share/php/Laminas/File/Exception/BadMethodCallException.php
/usr/share/php/Laminas/File/Exception/ExceptionInterface.php
/usr/share/php/Laminas/File/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/File/Exception/RuntimeException.php
/usr/share/php/Laminas/File/PhpClassFile.php
/usr/share/php/Laminas/File/Transfer
/usr/share/php/Laminas/File/Transfer/Adapter
/usr/share/php/Laminas/File/Transfer/Adapter/AbstractAdapter.php
/usr/share/php/Laminas/File/Transfer/Adapter/FilterPluginManager.php
/usr/share/php/Laminas/File/Transfer/Adapter/Http.php
/usr/share/php/Laminas/File/Transfer/Adapter/ValidatorPluginManager.php
/usr/share/php/Laminas/File/Transfer/Exception
/usr/share/php/Laminas/File/Transfer/Exception/BadMethodCallException.php
/usr/share/php/Laminas/File/Transfer/Exception/ExceptionInterface.php
/usr/share/php/Laminas/File/Transfer/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/File/Transfer/Exception/PhpEnvironmentException.php
/usr/share/php/Laminas/File/Transfer/Exception/RuntimeException.php
/usr/share/php/Laminas/File/Transfer/Transfer.php
/usr/share/php/Laminas/File/autoload.php
/usr/share/php/Zend/File
/usr/share/php/Zend/File/autoload.php

References

Summary

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