How To Install php-composer-metadata-minifier on Fedora 36

In this tutorial we learn how to install php-composer-metadata-minifier in Fedora 36. php-composer-metadata-minifier is Library that handles metadata minification and expansion

Introduction

In this tutorial we learn how to install php-composer-metadata-minifier on Fedora 36.

What is php-composer-metadata-minifier

Small utility library that handles metadata minification and expansion. Autoloader

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

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

sudo dnf -y install php-composer-metadata-minifier

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

sudo yum -y install php-composer-metadata-minifier

How To Uninstall php-composer-metadata-minifier on Fedora 36

To uninstall only the php-composer-metadata-minifier package we can use the following command:

sudo dnf remove php-composer-metadata-minifier

php-composer-metadata-minifier Package Contents on Fedora 36

/usr/share/doc/php-composer-metadata-minifier
/usr/share/doc/php-composer-metadata-minifier/README.md
/usr/share/doc/php-composer-metadata-minifier/composer.json
/usr/share/licenses/php-composer-metadata-minifier
/usr/share/licenses/php-composer-metadata-minifier/LICENSE
/usr/share/php/Composer
/usr/share/php/Composer/MetadataMinifier
/usr/share/php/Composer/MetadataMinifier/MetadataMinifier.php
/usr/share/php/Composer/MetadataMinifier/autoload.php

References

Summary

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