How To Install php-pimple1 on Fedora 36

In this tutorial we learn how to install php-pimple1 in Fedora 36. php-pimple1 is A simple dependency injection container for PHP

Introduction

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

What is php-pimple1

Pimple is a small dependency injection container for PHP that consists of just one file and one class.

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

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

sudo dnf -y install php-pimple1

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

sudo yum -y install php-pimple1

How To Uninstall php-pimple1 on Fedora 36

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

sudo dnf remove php-pimple1

php-pimple1 Package Contents on Fedora 36

/usr/share/doc/php-pimple1
/usr/share/doc/php-pimple1/README.rst
/usr/share/doc/php-pimple1/composer.json
/usr/share/licenses/php-pimple1
/usr/share/licenses/php-pimple1/LICENSE
/usr/share/php/Pimple1
/usr/share/php/Pimple1/Pimple.php
/usr/share/php/Pimple1/autoload.php

References

Summary

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