How To Install php-pecl-oauth on Fedora 36

In this tutorial we learn how to install php-pecl-oauth in Fedora 36. php-pecl-oauth is PHP OAuth consumer extension

Introduction

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

What is php-pecl-oauth

OAuth is an authorization protocol built on top of HTTP which allows applications to securely access data without having to store user names and passwords.

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

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

sudo dnf -y install php-pecl-oauth

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

sudo yum -y install php-pecl-oauth

How To Uninstall php-pecl-oauth on Fedora 36

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

sudo dnf remove php-pecl-oauth

php-pecl-oauth Package Contents on Fedora 36

/etc/php-zts.d/40-oauth.ini
/etc/php.d/40-oauth.ini
/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/51786bf2d6804eb75ad70bd17a15484150e86e
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/e9d724b46c1e1733e9981dde0df0d2c62e0861
/usr/lib64/php-zts/modules/oauth.so
/usr/lib64/php/modules/oauth.so
/usr/share/doc/pecl/oauth
/usr/share/doc/pecl/oauth/INSTALL
/usr/share/doc/pecl/oauth/README.md
/usr/share/doc/pecl/oauth/TODO
/usr/share/doc/pecl/oauth/examples
/usr/share/doc/pecl/oauth/examples/README
/usr/share/doc/pecl/oauth/examples/access_token.php
/usr/share/doc/pecl/oauth/examples/config.inc.php
/usr/share/doc/pecl/oauth/examples/digg
/usr/share/doc/pecl/oauth/examples/digg/config.inc.php
/usr/share/doc/pecl/oauth/examples/digg/digg_a_story.php
/usr/share/doc/pecl/oauth/examples/exec_api.php
/usr/share/doc/pecl/oauth/examples/fireeagle
/usr/share/doc/pecl/oauth/examples/fireeagle/access_token.php
/usr/share/doc/pecl/oauth/examples/fireeagle/config.inc.php
/usr/share/doc/pecl/oauth/examples/fireeagle/exec_update_user.php
/usr/share/doc/pecl/oauth/examples/fireeagle/request_signing.php
/usr/share/doc/pecl/oauth/examples/fireeagle/request_token.php
/usr/share/doc/pecl/oauth/examples/google
/usr/share/doc/pecl/oauth/examples/google/README
/usr/share/doc/pecl/oauth/examples/google/access_token.php
/usr/share/doc/pecl/oauth/examples/google/config.inc.php
/usr/share/doc/pecl/oauth/examples/google/getContactInfo.php
/usr/share/doc/pecl/oauth/examples/google/request_token.php
/usr/share/doc/pecl/oauth/examples/netflix
/usr/share/doc/pecl/oauth/examples/netflix/access_token.php
/usr/share/doc/pecl/oauth/examples/netflix/config.inc.php
/usr/share/doc/pecl/oauth/examples/netflix/feeds.php
/usr/share/doc/pecl/oauth/examples/netflix/rental_history_atom.php
/usr/share/doc/pecl/oauth/examples/netflix/request_token.php
/usr/share/doc/pecl/oauth/examples/provider
/usr/share/doc/pecl/oauth/examples/provider/2legged.php
/usr/share/doc/pecl/oauth/examples/provider/a_private_api.php
/usr/share/doc/pecl/oauth/examples/provider/access_token.php
/usr/share/doc/pecl/oauth/examples/provider/common.inc.php
/usr/share/doc/pecl/oauth/examples/provider/request_token.php
/usr/share/doc/pecl/oauth/examples/request_signing.php
/usr/share/doc/pecl/oauth/examples/request_token.php
/usr/share/doc/pecl/oauth/examples/twitter
/usr/share/doc/pecl/oauth/examples/twitter/README
/usr/share/doc/pecl/oauth/examples/twitter/constants.php
/usr/share/doc/pecl/oauth/examples/twitter/fetchTimeline.php
/usr/share/doc/pecl/oauth/examples/twitter/php.jpg
/usr/share/doc/pecl/oauth/examples/twitter/updateBackgroundImage.php
/usr/share/doc/pecl/oauth/examples/twitter/updateStatus.php
/usr/share/doc/pecl/oauth/examples/wepay
/usr/share/doc/pecl/oauth/examples/wepay/README
/usr/share/doc/pecl/oauth/examples/wepay/access_token.php
/usr/share/doc/pecl/oauth/examples/wepay/balances.php
/usr/share/doc/pecl/oauth/examples/wepay/config.inc.php
/usr/share/doc/pecl/oauth/examples/wepay/request_token.php
/usr/share/doc/pecl/oauth/examples/yahoo
/usr/share/doc/pecl/oauth/examples/yahoo/access_token.php
/usr/share/doc/pecl/oauth/examples/yahoo/config.inc.php
/usr/share/doc/pecl/oauth/examples/yahoo/exec_yql.php
/usr/share/doc/pecl/oauth/examples/yahoo/exec_yql_refresh_token.php
/usr/share/doc/pecl/oauth/examples/yahoo/request_signing.php
/usr/share/doc/pecl/oauth/examples/yahoo/request_token.php
/usr/share/licenses/php-pecl-oauth
/usr/share/licenses/php-pecl-oauth/LICENSE
/var/lib/php/peclxml/php-pecl-oauth.xml

References

Summary

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