How To Install php-pear-XML-SVG on Fedora 36

In this tutorial we learn how to install php-pear-XML-SVG in Fedora 36. php-pear-XML-SVG is API for building SVG documents

Introduction

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

What is php-pear-XML-SVG

This package provides an object-oriented API for building SVG documents.

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

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

sudo dnf -y install php-pear-XML-SVG

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

sudo yum -y install php-pear-XML-SVG

How To Uninstall php-pear-XML-SVG on Fedora 36

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

sudo dnf remove php-pear-XML-SVG

php-pear-XML-SVG Package Contents on Fedora 36

/usr/share/doc/pear/XML_SVG
/usr/share/doc/pear/XML_SVG/README
/usr/share/doc/pear/XML_SVG/docs
/usr/share/doc/pear/XML_SVG/docs/examples
/usr/share/doc/pear/XML_SVG/docs/examples/basic.php
/usr/share/doc/pear/XML_SVG/docs/examples/radialGradient.php
/usr/share/pear/XML
/usr/share/pear/XML/SVG
/usr/share/pear/XML/SVG.php
/usr/share/pear/XML/SVG/Animate.php
/usr/share/pear/XML/SVG/Circle.php
/usr/share/pear/XML/SVG/Defs.php
/usr/share/pear/XML/SVG/Desc.php
/usr/share/pear/XML/SVG/Document.php
/usr/share/pear/XML/SVG/Element.php
/usr/share/pear/XML/SVG/Ellipse.php
/usr/share/pear/XML/SVG/Filter.php
/usr/share/pear/XML/SVG/FilterMergeNode.php
/usr/share/pear/XML/SVG/FilterPrimitive.php
/usr/share/pear/XML/SVG/Fragment.php
/usr/share/pear/XML/SVG/Group.php
/usr/share/pear/XML/SVG/Image.php
/usr/share/pear/XML/SVG/Line.php
/usr/share/pear/XML/SVG/Marker.php
/usr/share/pear/XML/SVG/Path.php
/usr/share/pear/XML/SVG/Polygon.php
/usr/share/pear/XML/SVG/Polyline.php
/usr/share/pear/XML/SVG/RadialGradient.php
/usr/share/pear/XML/SVG/Rect.php
/usr/share/pear/XML/SVG/Stop.php
/usr/share/pear/XML/SVG/Text.php
/usr/share/pear/XML/SVG/Textpath.php
/usr/share/pear/XML/SVG/Title.php
/usr/share/pear/XML/SVG/Tref.php
/usr/share/pear/XML/SVG/Tspan.php
/usr/share/pear/XML/SVG/Use.php
/var/lib/pear/pkgxml/php-pear-XML-SVG.xml

References

Summary

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