How To Install php-geos on Fedora 36

In this tutorial we learn how to install php-geos in Fedora 36. php-geos is PHP module for GEOS

Introduction

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

What is php-geos

PHP module for GEOS.

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

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

sudo dnf -y install php-geos

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

sudo yum -y install php-geos

How To Uninstall php-geos on Fedora 36

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

sudo dnf remove php-geos

php-geos Package Contents on Fedora 36

/etc/php-zts.d/40-geos.ini
/etc/php.d/40-geos.ini
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/232cd0c89e33ceb6ec16500dcf6afbc52e2c8d
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/40773da968cc3e0c38ff017505da2fc16a236e
/usr/lib64/php-zts/modules/geos.so
/usr/lib64/php/modules/geos.so
/usr/share/doc/php-geos
/usr/share/doc/php-geos/CREDITS
/usr/share/doc/php-geos/NEWS
/usr/share/doc/php-geos/README.md
/usr/share/doc/php-geos/TODO
/usr/share/licenses/php-geos
/usr/share/licenses/php-geos/COPYING
/usr/share/licenses/php-geos/LGPL-2
/usr/share/licenses/php-geos/MIT-LICENSE

References

Summary

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