How To Install python3-jpype on Fedora 36

In this tutorial we learn how to install python3-jpype in Fedora 36. python3-jpype is Full access for Python programs to Java class libraries

Introduction

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

What is python3-jpype

JPype is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines. This is the package with support for Python version 3.10.

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

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

sudo dnf -y install python3-jpype

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

sudo yum -y install python3-jpype

How To Uninstall python3-jpype on Fedora 36

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

sudo dnf remove python3-jpype

python3-jpype Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/4b72dc078ce215b797c48bdd5255145baee2e2
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/entry_points.txt
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/JPype1-1.3.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/_jpype.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/jpype
/usr/lib64/python3.10/site-packages/jpype/__init__.py
/usr/lib64/python3.10/site-packages/jpype/__pycache__
/usr/lib64/python3.10/site-packages/jpype/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_classpath.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_classpath.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_core.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_core.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_gui.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_gui.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jarray.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jarray.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jclass.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jclass.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jcollection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jcollection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jcustomizer.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jcustomizer.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jexception.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jexception.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jinit.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jinit.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jio.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jio.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jmethod.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jmethod.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jobject.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jobject.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jpackage.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jpackage.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jproxy.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jproxy.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jstring.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jstring.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jthread.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jthread.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jvmfinder.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_jvmfinder.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_pykeywords.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/_pykeywords.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/beans.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/beans.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/config.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/dbapi2.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/dbapi2.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/imports.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/imports.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/nio.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/nio.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/pickle.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/pickle.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/protocol.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/protocol.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/types.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/__pycache__/types.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/_classpath.py
/usr/lib64/python3.10/site-packages/jpype/_core.py
/usr/lib64/python3.10/site-packages/jpype/_core.pyi
/usr/lib64/python3.10/site-packages/jpype/_gui.py
/usr/lib64/python3.10/site-packages/jpype/_jarray.py
/usr/lib64/python3.10/site-packages/jpype/_jclass.py
/usr/lib64/python3.10/site-packages/jpype/_jcollection.py
/usr/lib64/python3.10/site-packages/jpype/_jcollection.pyi
/usr/lib64/python3.10/site-packages/jpype/_jcustomizer.py
/usr/lib64/python3.10/site-packages/jpype/_jexception.py
/usr/lib64/python3.10/site-packages/jpype/_jinit.py
/usr/lib64/python3.10/site-packages/jpype/_jio.py
/usr/lib64/python3.10/site-packages/jpype/_jio.pyi
/usr/lib64/python3.10/site-packages/jpype/_jmethod.py
/usr/lib64/python3.10/site-packages/jpype/_jobject.py
/usr/lib64/python3.10/site-packages/jpype/_jpackage.py
/usr/lib64/python3.10/site-packages/jpype/_jproxy.py
/usr/lib64/python3.10/site-packages/jpype/_jstring.py
/usr/lib64/python3.10/site-packages/jpype/_jstring.pyi
/usr/lib64/python3.10/site-packages/jpype/_jthread.py
/usr/lib64/python3.10/site-packages/jpype/_jthread.pyi
/usr/lib64/python3.10/site-packages/jpype/_jvmfinder.py
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/entry_points.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/entry_points.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/example.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/example.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/hook-jpype.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/hook-jpype.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/test_jpype_pyinstaller.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/__pycache__/test_jpype_pyinstaller.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/entry_points.py
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/example.py
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/hook-jpype.py
/usr/lib64/python3.10/site-packages/jpype/_pyinstaller/test_jpype_pyinstaller.py
/usr/lib64/python3.10/site-packages/jpype/_pykeywords.py
/usr/lib64/python3.10/site-packages/jpype/beans.py
/usr/lib64/python3.10/site-packages/jpype/config.py
/usr/lib64/python3.10/site-packages/jpype/dbapi2.py
/usr/lib64/python3.10/site-packages/jpype/imports.py
/usr/lib64/python3.10/site-packages/jpype/nio.py
/usr/lib64/python3.10/site-packages/jpype/pickle.py
/usr/lib64/python3.10/site-packages/jpype/protocol.py
/usr/lib64/python3.10/site-packages/jpype/types.py
/usr/lib64/python3.10/site-packages/org.jpype.jar
/usr/share/doc/python3-jpype
/usr/share/doc/python3-jpype/AUTHORS.rst
/usr/share/doc/python3-jpype/README.rst
/usr/share/licenses/python3-jpype
/usr/share/licenses/python3-jpype/LICENSE

References

Summary

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