How To Install python3-astor on Fedora 36

In this tutorial we learn how to install python3-astor in Fedora 36. python3-astor is Designed to allow easy manipulation of python source via the AST

Introduction

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

What is python3-astor

astor is designed to allow easy manipulation of Python source via the AST.

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

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

sudo dnf -y install python3-astor

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

sudo yum -y install python3-astor

How To Uninstall python3-astor on Fedora 36

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

sudo dnf remove python3-astor

python3-astor Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/astor
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/AUTHORS
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/LICENSE
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/astor-0.8.1.dist-info/zip-safe
/usr/lib/python3.10/site-packages/astor/VERSION
/usr/lib/python3.10/site-packages/astor/__init__.py
/usr/lib/python3.10/site-packages/astor/__pycache__
/usr/lib/python3.10/site-packages/astor/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/code_gen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/code_gen.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/codegen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/codegen.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/file_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/file_util.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/node_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/node_util.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/op_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/op_util.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/rtrip.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/rtrip.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/source_repr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/source_repr.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/string_repr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/string_repr.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/tree_walk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/astor/__pycache__/tree_walk.cpython-310.pyc
/usr/lib/python3.10/site-packages/astor/code_gen.py
/usr/lib/python3.10/site-packages/astor/codegen.py
/usr/lib/python3.10/site-packages/astor/file_util.py
/usr/lib/python3.10/site-packages/astor/node_util.py
/usr/lib/python3.10/site-packages/astor/op_util.py
/usr/lib/python3.10/site-packages/astor/rtrip.py
/usr/lib/python3.10/site-packages/astor/source_repr.py
/usr/lib/python3.10/site-packages/astor/string_repr.py
/usr/lib/python3.10/site-packages/astor/tree_walk.py
/usr/share/doc/python3-astor
/usr/share/doc/python3-astor/README.rst

References

Summary

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