How To Install php-facedetect on Fedora 36
Introduction
In this tutorial we learn how to install php-facedetect
on Fedora 36.
What is php-facedetect
This extension provides a PHP implementation of the OpenCV library. The extension offers two new functions. In principle, they differ only by their return value. The first returns only the number of faces found on the given image and the other an associative array of their coordinates.
We can use yum
or dnf
to install php-facedetect
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-facedetect.
Install php-facedetect 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-facedetect
using dnf
by running the following command:
sudo dnf -y install php-facedetect
Install php-facedetect 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-facedetect
using yum
by running the following command:
sudo yum -y install php-facedetect
How To Uninstall php-facedetect on Fedora 36
To uninstall only the php-facedetect
package we can use the following command:
sudo dnf remove php-facedetect
php-facedetect Package Contents on Fedora 36
/etc/php.d/40-facedetect.ini
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/e29a59e25b2e513ad3b6a580c36a6ba2c5edb9
/usr/lib64/php/modules/facedetect.so
/usr/share/doc/php-facedetect
/usr/share/doc/php-facedetect/CREDITS
/usr/share/licenses/php-facedetect
/usr/share/licenses/php-facedetect/LICENSE
References
Summary
In this tutorial we learn how to install php-facedetect
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).