How To Install python3-bowler on Fedora 36

In this tutorial we learn how to install python3-bowler in Fedora 36. python3-bowler is Safe code refactoring for modern Python projects

Introduction

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

What is python3-bowler

Bowler is a refactoring tool for manipulating Python at the syntax tree level. It enables safe, large scale code modifications while guaranteeing that the resulting code compiles and runs. It provides both a simple command line interface and a fluent API in Python for generating complex code modifications in code.

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

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

sudo dnf -y install python3-bowler

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

sudo yum -y install python3-bowler

How To Uninstall python3-bowler on Fedora 36

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

sudo dnf remove python3-bowler

python3-bowler Package Contents on Fedora 36

/usr/bin/bowler
/usr/lib/python3.10/site-packages/bowler
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/bowler-0.9.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/bowler/__init__.py
/usr/lib/python3.10/site-packages/bowler/__main__.py
/usr/lib/python3.10/site-packages/bowler/__pycache__
/usr/lib/python3.10/site-packages/bowler/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/imr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/imr.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/query.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/query.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/tool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/tool.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/type_inference.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/type_inference.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/types.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/bowler/__pycache__/types.cpython-310.pyc
/usr/lib/python3.10/site-packages/bowler/helpers.py
/usr/lib/python3.10/site-packages/bowler/imr.py
/usr/lib/python3.10/site-packages/bowler/main.py
/usr/lib/python3.10/site-packages/bowler/query.py
/usr/lib/python3.10/site-packages/bowler/tool.py
/usr/lib/python3.10/site-packages/bowler/type_inference.py
/usr/lib/python3.10/site-packages/bowler/types.py
/usr/share/doc/python3-bowler
/usr/share/doc/python3-bowler/CODE_OF_CONDUCT.md
/usr/share/doc/python3-bowler/CONTRIBUTING.md
/usr/share/doc/python3-bowler/README.md
/usr/share/licenses/python3-bowler
/usr/share/licenses/python3-bowler/LICENSE

References

Summary

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