How To Install php-google-apiclient on Fedora 36

In this tutorial we learn how to install php-google-apiclient in Fedora 36. php-google-apiclient is Client library for Google APIs

Introduction

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

What is php-google-apiclient

Google APIs Client Library for PHP provides access to many Google APIs. It is designed for PHP client-application developers and offers simple, flexible, powerful API access. Autoloader

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

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

sudo dnf -y install php-google-apiclient

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

sudo yum -y install php-google-apiclient

How To Uninstall php-google-apiclient on Fedora 36

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

sudo dnf remove php-google-apiclient

php-google-apiclient Package Contents on Fedora 36

/usr/share/doc/php-google-apiclient
/usr/share/doc/php-google-apiclient/CODE_OF_CONDUCT.md
/usr/share/doc/php-google-apiclient/README.md
/usr/share/doc/php-google-apiclient/SECURITY.md
/usr/share/doc/php-google-apiclient/UPGRADING.md
/usr/share/doc/php-google-apiclient/composer.json
/usr/share/licenses/php-google-apiclient
/usr/share/licenses/php-google-apiclient/LICENSE
/usr/share/php/Google
/usr/share/php/Google/AccessToken
/usr/share/php/Google/AccessToken/Revoke.php
/usr/share/php/Google/AccessToken/Verify.php
/usr/share/php/Google/AuthHandler
/usr/share/php/Google/AuthHandler/AuthHandlerFactory.php
/usr/share/php/Google/AuthHandler/Guzzle5AuthHandler.php
/usr/share/php/Google/AuthHandler/Guzzle6AuthHandler.php
/usr/share/php/Google/AuthHandler/Guzzle7AuthHandler.php
/usr/share/php/Google/Client.php
/usr/share/php/Google/Collection.php
/usr/share/php/Google/Exception.php
/usr/share/php/Google/Http
/usr/share/php/Google/Http/Batch.php
/usr/share/php/Google/Http/MediaFileUpload.php
/usr/share/php/Google/Http/REST.php
/usr/share/php/Google/Model.php
/usr/share/php/Google/Service
/usr/share/php/Google/Service.php
/usr/share/php/Google/Service/Exception.php
/usr/share/php/Google/Service/README.md
/usr/share/php/Google/Service/Resource.php
/usr/share/php/Google/Task
/usr/share/php/Google/Task/Composer.php
/usr/share/php/Google/Task/Exception.php
/usr/share/php/Google/Task/Retryable.php
/usr/share/php/Google/Task/Runner.php
/usr/share/php/Google/Utils
/usr/share/php/Google/Utils/UriTemplate.php
/usr/share/php/Google/aliases.php
/usr/share/php/Google/autoload.php

References

Summary

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