How To Install monkeytype on Fedora 36
Introduction
In this tutorial we learn how to install monkeytype
on Fedora 36.
What is monkeytype
MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or even add draft type annotations directly to your Python code based on the types collected at runtime.
We can use yum
or dnf
to install monkeytype
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install monkeytype.
Install monkeytype 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 monkeytype
using dnf
by running the following command:
sudo dnf -y install monkeytype
Install monkeytype 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 monkeytype
using yum
by running the following command:
sudo yum -y install monkeytype
How To Uninstall monkeytype on Fedora 36
To uninstall only the monkeytype
package we can use the following command:
sudo dnf remove monkeytype
monkeytype Package Contents on Fedora 36
/usr/bin/monkeytype
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/MonkeyType-21.5.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/monkeytype
/usr/lib/python3.10/site-packages/monkeytype/__init__.py
/usr/lib/python3.10/site-packages/monkeytype/__main__.py
/usr/lib/python3.10/site-packages/monkeytype/__pycache__
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/encoding.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/encoding.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/stubs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/stubs.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/tracing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/tracing.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/typing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/typing.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/cli.py
/usr/lib/python3.10/site-packages/monkeytype/compat.py
/usr/lib/python3.10/site-packages/monkeytype/config.py
/usr/lib/python3.10/site-packages/monkeytype/db
/usr/lib/python3.10/site-packages/monkeytype/db/__init__.py
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__/sqlite.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/monkeytype/db/__pycache__/sqlite.cpython-310.pyc
/usr/lib/python3.10/site-packages/monkeytype/db/base.py
/usr/lib/python3.10/site-packages/monkeytype/db/sqlite.py
/usr/lib/python3.10/site-packages/monkeytype/encoding.py
/usr/lib/python3.10/site-packages/monkeytype/exceptions.py
/usr/lib/python3.10/site-packages/monkeytype/py.typed
/usr/lib/python3.10/site-packages/monkeytype/stubs.py
/usr/lib/python3.10/site-packages/monkeytype/tracing.py
/usr/lib/python3.10/site-packages/monkeytype/typing.py
/usr/lib/python3.10/site-packages/monkeytype/util.py
/usr/share/doc/monkeytype
/usr/share/doc/monkeytype/CHANGES.rst
/usr/share/doc/monkeytype/CODE_OF_CONDUCT.md
/usr/share/doc/monkeytype/CONTRIBUTING.rst
/usr/share/doc/monkeytype/README.rst
/usr/share/licenses/monkeytype
/usr/share/licenses/monkeytype/LICENSE
References
Summary
In this tutorial we learn how to install monkeytype
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).