How To Install php-pear-CodeGen-PECL on Fedora 36

In this tutorial we learn how to install php-pear-CodeGen-PECL in Fedora 36. php-pear-CodeGen-PECL is Tool to generate PECL extensions from an XML description

Introduction

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

What is php-pear-CodeGen-PECL

CodeGen_PECL (formerly known as PECL_Gen) is a pure PHP replacement for the ext_skel shell script that comes with the PHP 4 source. It reads in configuration options, function prototypes and code fragments from an XML description file and then generates a complete ready-to-compile PECL extension.

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

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

sudo dnf -y install php-pear-CodeGen-PECL

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

sudo yum -y install php-pear-CodeGen-PECL

How To Uninstall php-pear-CodeGen-PECL on Fedora 36

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

sudo dnf remove php-pear-CodeGen-PECL

php-pear-CodeGen-PECL Package Contents on Fedora 36

/usr/bin/pecl-gen
/usr/share/doc/pear/CodeGen_PECL
/usr/share/doc/pear/CodeGen_PECL/docs
/usr/share/doc/pear/CodeGen_PECL/docs/examples
/usr/share/doc/pear/CodeGen_PECL/docs/examples/api_functions.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_abstract.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_constant.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_extends.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_methods.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_methods_abstract.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_methods_final.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_minimal.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_payload.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_properties.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/class_type_hints.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/code_pi.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/conditional_compile.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/constants.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/crossext.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/deps_with.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/function_by_ref.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/function_type_hints.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/globals.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/groups.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/interface_class.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/interface_internal.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/interface_simple.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/license.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/lineno.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/minimal.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/optional_args.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/phpini.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/release_tags.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/resource.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/resource_cpp.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/resource_old.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/return_array.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/syck.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/testcase.xml
/usr/share/doc/pear/CodeGen_PECL/docs/examples/varargs.xml
/usr/share/doc/pear/CodeGen_PECL/docs/manual.html
/usr/share/pear/CodeGen/PECL
/usr/share/pear/CodeGen/PECL/Cli.php
/usr/share/pear/CodeGen/PECL/Command.php
/usr/share/pear/CodeGen/PECL/Dependency
/usr/share/pear/CodeGen/PECL/Dependency/Extension.php
/usr/share/pear/CodeGen/PECL/Dependency/Header.php
/usr/share/pear/CodeGen/PECL/Dependency/Lib.php
/usr/share/pear/CodeGen/PECL/Dependency/Platform.php
/usr/share/pear/CodeGen/PECL/Dependency/With.php
/usr/share/pear/CodeGen/PECL/Element
/usr/share/pear/CodeGen/PECL/Element.php
/usr/share/pear/CodeGen/PECL/Element/Class.php
/usr/share/pear/CodeGen/PECL/Element/ClassConstant.php
/usr/share/pear/CodeGen/PECL/Element/Constant.php
/usr/share/pear/CodeGen/PECL/Element/Function.php
/usr/share/pear/CodeGen/PECL/Element/Global.php
/usr/share/pear/CodeGen/PECL/Element/Ini.php
/usr/share/pear/CodeGen/PECL/Element/Interface.php
/usr/share/pear/CodeGen/PECL/Element/Logo.php
/usr/share/pear/CodeGen/PECL/Element/Method.php
/usr/share/pear/CodeGen/PECL/Element/ObjectInterface.php
/usr/share/pear/CodeGen/PECL/Element/Property.php
/usr/share/pear/CodeGen/PECL/Element/Resource.php
/usr/share/pear/CodeGen/PECL/Element/Stream.php
/usr/share/pear/CodeGen/PECL/Element/Test.php
/usr/share/pear/CodeGen/PECL/Extension.php
/usr/share/pear/CodeGen/PECL/ExtensionParser.php
/usr/share/pear/CodeGen/PECL/Maintainer.php
/usr/share/pear/CodeGen/PECL/Release.php
/usr/share/pear/CodeGen/PECL/Tools
/usr/share/pear/CodeGen/PECL/Tools/ProtoLexer.php
/usr/share/pear/CodeGen/PECL/Tools/ProtoParser.php
/var/lib/pear/pkgxml/php-pear-CodeGen-PECL.xml

References

Summary

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