How To Install python3-beniget on Fedora 36

In this tutorial we learn how to install python3-beniget in Fedora 36. python3-beniget is Extract semantic information about static Python code

Introduction

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

What is python3-beniget

A static analyzer for Python2 and Python3 code.Beniget provides a static over- approximation of the global and local definitions inside Python Module/Class/Function. It can also compute def-use chains from each definition.

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

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

sudo dnf -y install python3-beniget

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

sudo yum -y install python3-beniget

How To Uninstall python3-beniget on Fedora 36

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

sudo dnf remove python3-beniget

python3-beniget Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/beniget
/usr/lib/python3.10/site-packages/beniget-0.4.1.dist-info
/usr/lib/python3.10/site-packages/beniget-0.4.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/beniget-0.4.1.dist-info/LICENSE
/usr/lib/python3.10/site-packages/beniget-0.4.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/beniget-0.4.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/beniget-0.4.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/beniget/__init__.py
/usr/lib/python3.10/site-packages/beniget/__pycache__
/usr/lib/python3.10/site-packages/beniget/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/beniget/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/beniget/__pycache__/beniget.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/beniget/__pycache__/beniget.cpython-310.pyc
/usr/lib/python3.10/site-packages/beniget/beniget.py
/usr/share/doc/python3-beniget
/usr/share/doc/python3-beniget/README.rst
/usr/share/licenses/python3-beniget
/usr/share/licenses/python3-beniget/LICENSE

References

Summary

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