How To Install php-sentry on Fedora 36

In this tutorial we learn how to install php-sentry in Fedora 36. php-sentry is PHP client for Sentry

Introduction

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

What is php-sentry

PHP client for Sentry (http Autoloader

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

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

sudo dnf -y install php-sentry

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

sudo yum -y install php-sentry

How To Uninstall php-sentry on Fedora 36

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

sudo dnf remove php-sentry

php-sentry Package Contents on Fedora 36

/usr/bin/raven
/usr/bin/sentry
/usr/share/doc/php-sentry
/usr/share/doc/php-sentry/AUTHORS
/usr/share/doc/php-sentry/CHANGES
/usr/share/doc/php-sentry/README.rst
/usr/share/doc/php-sentry/composer.json
/usr/share/licenses/php-sentry
/usr/share/licenses/php-sentry/LICENSE
/usr/share/php/Raven
/usr/share/php/Raven/Autoloader.php
/usr/share/php/Raven/Breadcrumbs
/usr/share/php/Raven/Breadcrumbs.php
/usr/share/php/Raven/Breadcrumbs/ErrorHandler.php
/usr/share/php/Raven/Breadcrumbs/MonologHandler.php
/usr/share/php/Raven/Client.php
/usr/share/php/Raven/Compat.php
/usr/share/php/Raven/Context.php
/usr/share/php/Raven/CurlHandler.php
/usr/share/php/Raven/ErrorHandler.php
/usr/share/php/Raven/Processor.php
/usr/share/php/Raven/ReprSerializer.php
/usr/share/php/Raven/SanitizeDataProcessor.php
/usr/share/php/Raven/Serializer.php
/usr/share/php/Raven/Stacktrace.php
/usr/share/php/Raven/Util.php
/usr/share/php/Raven/autoload.php

References

Summary

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