How To Install php-phpSmug on Fedora 36

In this tutorial we learn how to install php-phpSmug in Fedora 36. php-phpSmug is PHP wrapper for the SmugMug API

Introduction

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

What is php-phpSmug

phpSmug is an award winning PHP wrapper class for the SmugMug API written and maintained by Colin Seymour. The intention of this class is to allow PHP application developers to quickly and easily interact with the SmugMug API in their applications, without having to worry about the finer details of the API. phpSmug is based on the great work of Dan Coulter in phpFlickr.

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

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

sudo dnf -y install php-phpSmug

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

sudo yum -y install php-phpSmug

How To Uninstall php-phpSmug on Fedora 36

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

sudo dnf remove php-phpSmug

php-phpSmug Package Contents on Fedora 36

/usr/share/doc/php-phpSmug
/usr/share/doc/php-phpSmug/README.txt
/usr/share/doc/php-phpSmug/example-anon.php
/usr/share/doc/php-phpSmug/example-login.php
/usr/share/doc/php-phpSmug/example-oauth.php
/usr/share/php/phpSmug
/usr/share/php/phpSmug/phpSmug.php

References

Summary

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