How To Install python3-pyjnius on Fedora 36

In this tutorial we learn how to install python3-pyjnius in Fedora 36. python3-pyjnius is Dynamic access to Java classes from Python

Introduction

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

What is python3-pyjnius

Dynamic access to Java classes from Python.

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

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

sudo dnf -y install python3-pyjnius

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

sudo yum -y install python3-pyjnius

How To Uninstall python3-pyjnius on Fedora 36

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

sudo dnf remove python3-pyjnius

python3-pyjnius Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/dd274a2b59cff7d634c6590a4222e3c658b0fe
/usr/lib64/python3.10/site-packages/jnius
/usr/lib64/python3.10/site-packages/jnius/__init__.py
/usr/lib64/python3.10/site-packages/jnius/__pycache__
/usr/lib64/python3.10/site-packages/jnius/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/env.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/env.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/reflect.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/reflect.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/signatures.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jnius/__pycache__/signatures.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jnius/env.py
/usr/lib64/python3.10/site-packages/jnius/jnius.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/jnius/reflect.py
/usr/lib64/python3.10/site-packages/jnius/signatures.py
/usr/lib64/python3.10/site-packages/jnius/src
/usr/lib64/python3.10/site-packages/jnius/src/org
/usr/lib64/python3.10/site-packages/jnius/src/org/jnius
/usr/lib64/python3.10/site-packages/jnius/src/org/jnius/NativeInvocationHandler.class
/usr/lib64/python3.10/site-packages/jnius/src/org/jnius/NativeInvocationHandler.java
/usr/lib64/python3.10/site-packages/jnius_config.py
/usr/lib64/python3.10/site-packages/pyjnius-1.3.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pyjnius-1.3.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pyjnius-1.3.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pyjnius-1.3.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pyjnius-1.3.0-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/pyjnius-1.3.0-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-pyjnius
/usr/share/doc/python3-pyjnius/CHANGELOG.md
/usr/share/doc/python3-pyjnius/README.md
/usr/share/licenses/python3-pyjnius
/usr/share/licenses/python3-pyjnius/LICENSE

References

Summary

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