How To Install php-pear-Date-Holidays on Fedora 36

In this tutorial we learn how to install php-pear-Date-Holidays in Fedora 36. php-pear-Date-Holidays is Driver based class to calculate holidays

Introduction

In this tutorial we learn how to install php-pear-Date-Holidays on Fedora 36.

What is php-pear-Date-Holidays

Date_Holidays helps you calculating the dates and titles of holidays and other special celebrations. The calculation is driver-based so it is easy to add new drivers that calculate a country’s holidays. The methods of the class can be used to get a holiday’s date and title in various languages.

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

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

sudo dnf -y install php-pear-Date-Holidays

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

sudo yum -y install php-pear-Date-Holidays

How To Uninstall php-pear-Date-Holidays on Fedora 36

To uninstall only the php-pear-Date-Holidays package we can use the following command:

sudo dnf remove php-pear-Date-Holidays

php-pear-Date-Holidays Package Contents on Fedora 36

/usr/bin/pear-dh-compile-translationfile
/usr/bin/pear-dh-ini2xml
/usr/share/doc/pear/Date_Holidays
/usr/share/doc/pear/Date_Holidays/examples
/usr/share/doc/pear/Date_Holidays/examples/addingTranslations.php
/usr/share/doc/pear/Date_Holidays/examples/creating_drivers.php
/usr/share/doc/pear/Date_Holidays/examples/fetchingInstalledDrivers.php
/usr/share/doc/pear/Date_Holidays/examples/languagefile-with-properties.xml
/usr/share/doc/pear/Date_Holidays/examples/usingCompositeDriver.php
/usr/share/doc/pear/Date_Holidays/examples/usingStandaloneDriver.php
/usr/share/pear-data/Date_Holidays
/usr/share/pear-data/Date_Holidays/lang
/usr/share/pear-data/Date_Holidays/lang/Christian
/usr/share/pear-data/Date_Holidays/lang/Christian/de_DE.ser
/usr/share/pear-data/Date_Holidays/lang/Christian/de_DE.xml
/usr/share/pear-data/Date_Holidays/lang/Christian/en_EN.ser
/usr/share/pear-data/Date_Holidays/lang/Christian/en_EN.xml
/usr/share/pear-data/Date_Holidays/lang/Christian/fr_FR.ser
/usr/share/pear-data/Date_Holidays/lang/Christian/fr_FR.xml
/usr/share/pear-data/Date_Holidays/lang/Christian/it_IT.ser
/usr/share/pear-data/Date_Holidays/lang/Christian/it_IT.xml
/usr/share/pear-data/Date_Holidays/lang/Christian/nl_NL.xml
/usr/share/pear/Date/Holidays
/usr/share/pear/Date/Holidays.php
/usr/share/pear/Date/Holidays/Driver
/usr/share/pear/Date/Holidays/Driver.php
/usr/share/pear/Date/Holidays/Driver/Christian.php
/usr/share/pear/Date/Holidays/Driver/Composite.php
/usr/share/pear/Date/Holidays/Driver/EasternChristian.php
/usr/share/pear/Date/Holidays/Driver/Jewish.php
/usr/share/pear/Date/Holidays/Filter
/usr/share/pear/Date/Holidays/Filter.php
/usr/share/pear/Date/Holidays/Filter/Blacklist.php
/usr/share/pear/Date/Holidays/Filter/Composite.php
/usr/share/pear/Date/Holidays/Filter/Whitelist.php
/usr/share/pear/Date/Holidays/Holiday.php
/usr/share/tests/pear/Date_Holidays
/usr/share/tests/pear/Date_Holidays/tests
/usr/share/tests/pear/Date_Holidays/tests/AllTests.php
/usr/share/tests/pear/Date_Holidays/tests/AllTestsUndeployed.php
/usr/share/tests/pear/Date_Holidays/tests/Date_Holidays_Bugfix_Retests_TestSuite.php
/usr/share/tests/pear/Date_Holidays/tests/Date_Holidays_Driver_Christian_TestSuite.php
/usr/share/tests/pear/Date_Holidays/tests/Date_Holidays_Driver_Jewish_TestSuite.php
/usr/share/tests/pear/Date_Holidays/tests/Date_Holidays_Driver_TestSuite.php
/usr/share/tests/pear/Date_Holidays/tests/Date_Holidays_Driver_TestSuite.xml
/usr/share/tests/pear/Date_Holidays/tests/Date_Holidays_TestSuite.php
/usr/share/tests/pear/Date_Holidays/tests/Example.php
/usr/share/tests/pear/Date_Holidays/tests/helper.inc
/usr/share/tests/pear/Date_Holidays/tests/testHolidays2005stampsAndSavingsDay.php
/usr/share/tests/pear/Date_Holidays/tests/test_getHolidays.php
/usr/share/tests/pear/Date_Holidays/tests/test_missingLocale.php
/var/lib/pear/pkgxml/php-pear-Date-Holidays.xml

References

Summary

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