How To Install php-oauth on Fedora 36
Introduction
In this tutorial we learn how to install php-oauth
on Fedora 36.
What is php-oauth
An open protocol to allow API authentication in a simple and standard method from desktop and web applications.
We can use yum
or dnf
to install php-oauth
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-oauth.
Install php-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-oauth
using dnf
by running the following command:
sudo dnf -y install php-oauth
Install php-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-oauth
using yum
by running the following command:
sudo yum -y install php-oauth
How To Uninstall php-oauth on Fedora 36
To uninstall only the php-oauth
package we can use the following command:
sudo dnf remove php-oauth
php-oauth Package Contents on Fedora 36
/usr/share/doc/php-oauth
/usr/share/doc/php-oauth/CHANGELOG.txt
/usr/share/doc/php-oauth/LICENSE.txt
/usr/share/doc/php-oauth/doc
/usr/share/doc/php-oauth/doc/design.txt
/usr/share/doc/php-oauth/example
/usr/share/doc/php-oauth/example/OAuth_TestServer.php
/usr/share/doc/php-oauth/example/SimpleOAuthDataStore.php
/usr/share/doc/php-oauth/example/access_token.php
/usr/share/doc/php-oauth/example/client.php
/usr/share/doc/php-oauth/example/common.inc.php
/usr/share/doc/php-oauth/example/echo_api.php
/usr/share/doc/php-oauth/example/index.php
/usr/share/doc/php-oauth/example/request_token.php
/usr/share/php/oauth
/usr/share/php/oauth/OAuth.php
References
Summary
In this tutorial we learn how to install php-oauth
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).