How To Install php-pear-CodeGen on Fedora 36

In this tutorial we learn how to install php-pear-CodeGen in Fedora 36. php-pear-CodeGen is Framework to create code generators that operate on XML descriptions

Introduction

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

What is php-pear-CodeGen

Provides the base framework to create code generators that operate on XML descriptions like CodeGen_PECL and CodeGen_MySqlUDF.

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

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

sudo dnf -y install php-pear-CodeGen

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

sudo yum -y install php-pear-CodeGen

How To Uninstall php-pear-CodeGen on Fedora 36

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

sudo dnf remove php-pear-CodeGen

php-pear-CodeGen Package Contents on Fedora 36

/usr/share/pear/CodeGen
/usr/share/pear/CodeGen/Command.php
/usr/share/pear/CodeGen/Dependency
/usr/share/pear/CodeGen/Dependency/Header.php
/usr/share/pear/CodeGen/Dependency/Lib.php
/usr/share/pear/CodeGen/Element.php
/usr/share/pear/CodeGen/Extension.php
/usr/share/pear/CodeGen/ExtensionParser.php
/usr/share/pear/CodeGen/License
/usr/share/pear/CodeGen/License.php
/usr/share/pear/CodeGen/License/BSD.php
/usr/share/pear/CodeGen/License/GPL.php
/usr/share/pear/CodeGen/License/GPL2.php
/usr/share/pear/CodeGen/License/GPL3.php
/usr/share/pear/CodeGen/License/LGPL.php
/usr/share/pear/CodeGen/License/LGPL21.php
/usr/share/pear/CodeGen/License/LGPL3.php
/usr/share/pear/CodeGen/License/PHP.php
/usr/share/pear/CodeGen/Maintainer.php
/usr/share/pear/CodeGen/Release.php
/usr/share/pear/CodeGen/Tools
/usr/share/pear/CodeGen/Tools/Code.php
/usr/share/pear/CodeGen/Tools/FileReplacer.php
/usr/share/pear/CodeGen/Tools/Getopt.php
/usr/share/pear/CodeGen/Tools/Group.php
/usr/share/pear/CodeGen/Tools/Indent.php
/usr/share/pear/CodeGen/Tools/IndentC.php
/usr/share/pear/CodeGen/Tools/Outbuf.php
/usr/share/pear/CodeGen/Tools/Platform.php
/usr/share/pear/CodeGen/Tools/Tokenizer.php
/usr/share/pear/CodeGen/XmlParser.php
/var/lib/pear/pkgxml/php-pear-CodeGen.xml

References

Summary

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