How To Install python3-dicttoxml on Fedora 36

In this tutorial we learn how to install python3-dicttoxml in Fedora 36. python3-dicttoxml is Converts a Python dictionary or other native data type into a valid XML string

Introduction

In this tutorial we learn how to install python3-dicttoxml on Fedora 36.

What is python3-dicttoxml

Converts a Python dictionary or other native data type into a valid XML string. Details Supports item (int, float, long, decimal.Decimal, bool, str, unicode, datetime, none and other number-like objects) and collection (list, set, tuple and dict, as well as iterable and dict-like objects) data types, with arbitrary nesting for the collections.

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

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

sudo dnf -y install python3-dicttoxml

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

sudo yum -y install python3-dicttoxml

How To Uninstall python3-dicttoxml on Fedora 36

To uninstall only the python3-dicttoxml package we can use the following command:

sudo dnf remove python3-dicttoxml

python3-dicttoxml Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/__pycache__/dicttoxml.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/dicttoxml.cpython-310.pyc
/usr/lib/python3.10/site-packages/dicttoxml-1.7.4-py3.10.egg-info
/usr/lib/python3.10/site-packages/dicttoxml.py
/usr/share/doc/python3-dicttoxml
/usr/share/doc/python3-dicttoxml/README.markdown
/usr/share/licenses/python3-dicttoxml
/usr/share/licenses/python3-dicttoxml/LICENCE.txt

References

Summary

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