How To Install php-pecl-rpminfo on Fedora 36
Introduction
In this tutorial we learn how to install php-pecl-rpminfo
on Fedora 36.
What is php-pecl-rpminfo
Retrieve RPM information using librpm, from local RPM file or from installed packages database. Documentation
We can use yum
or dnf
to install php-pecl-rpminfo
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pecl-rpminfo.
Install php-pecl-rpminfo 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-pecl-rpminfo
using dnf
by running the following command:
sudo dnf -y install php-pecl-rpminfo
Install php-pecl-rpminfo 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-pecl-rpminfo
using yum
by running the following command:
sudo yum -y install php-pecl-rpminfo
How To Uninstall php-pecl-rpminfo on Fedora 36
To uninstall only the php-pecl-rpminfo
package we can use the following command:
sudo dnf remove php-pecl-rpminfo
php-pecl-rpminfo Package Contents on Fedora 36
/etc/php-zts.d/40-rpminfo.ini
/etc/php.d/40-rpminfo.ini
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/a7414a7e34a935153e7f939b5a409939d19232
/usr/lib/.build-id/05
/usr/lib/.build-id/05/12ff53024310870fabf026351a27364f419d42
/usr/lib64/php-zts/modules/rpminfo.so
/usr/lib64/php/modules/rpminfo.so
/usr/share/doc/pecl/rpminfo
/usr/share/doc/pecl/rpminfo/CREDITS
/usr/share/doc/pecl/rpminfo/README.md
/usr/share/doc/pecl/rpminfo/examples
/usr/share/doc/pecl/rpminfo/examples/librpm.php
/usr/share/doc/pecl/rpminfo/examples/repomanage.php
/usr/share/doc/pecl/rpminfo/examples/rpmvercmp.php
/usr/share/licenses/php-pecl-rpminfo
/usr/share/licenses/php-pecl-rpminfo/LICENSE
/var/lib/php/peclxml/php-pecl-rpminfo.xml
References
Summary
In this tutorial we learn how to install php-pecl-rpminfo
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).