How To Install php-laminas-mime on Fedora 36

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

Introduction

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

What is php-laminas-mime

Laminas\Mime is a support class for handling multipart MIME messages. It is used by Laminas\Mail and Laminas\Mime\Message and may be used by applications requiring MIME support. Documentation

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

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

sudo dnf -y install php-laminas-mime

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

sudo yum -y install php-laminas-mime

How To Uninstall php-laminas-mime on Fedora 36

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

sudo dnf remove php-laminas-mime

php-laminas-mime Package Contents on Fedora 36

/usr/share/doc/php-laminas-mime
/usr/share/doc/php-laminas-mime/COPYRIGHT.md
/usr/share/doc/php-laminas-mime/README.md
/usr/share/doc/php-laminas-mime/composer.json
/usr/share/licenses/php-laminas-mime
/usr/share/licenses/php-laminas-mime/LICENSE
/usr/share/php/Laminas/Mime
/usr/share/php/Laminas/Mime/Decode.php
/usr/share/php/Laminas/Mime/Exception
/usr/share/php/Laminas/Mime/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Mime/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Mime/Exception/RuntimeException.php
/usr/share/php/Laminas/Mime/Message.php
/usr/share/php/Laminas/Mime/Mime.php
/usr/share/php/Laminas/Mime/Part.php
/usr/share/php/Laminas/Mime/autoload.php
/usr/share/php/Zend/Mime
/usr/share/php/Zend/Mime/autoload.php

References

Summary

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