How To Install python3-jep on Fedora 36

In this tutorial we learn how to install python3-jep in Fedora 36. python3-jep is Embed Python in Java

Introduction

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

What is python3-jep

Java Embedded Python JEP embeds CPython in Java through JNI and is safe to use in a heavily threaded environment. Some benefits of embedding CPython in a JVM Using the native Python interpreter may be much faster than alternatives. Python is mature, well supported, and well documented. Access to high quality Python modules, both native CPython extensions and Python-based. Compilers and assorted Python tools are as mature as the language. Python is an interpreted language, enabling scripting of established Java code without requiring recompilation. Both Java and Python are cross platform, enabling deployment to different operating system.

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

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

sudo dnf -y install python3-jep

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

sudo yum -y install python3-jep

How To Uninstall python3-jep on Fedora 36

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

sudo dnf remove python3-jep

python3-jep Package Contents on Fedora 36

/usr/bin/jep
/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/71e9a54868cfc17c14c1e391360f6f7a70cb93
/usr/lib64/python3.10/site-packages/jep
/usr/lib64/python3.10/site-packages/jep-3.9.1-py3.10.egg-info
/usr/lib64/python3.10/site-packages/jep/__init__.py
/usr/lib64/python3.10/site-packages/jep/__pycache__
/usr/lib64/python3.10/site-packages/jep/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/console.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/console.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/java_import_hook.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/java_import_hook.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/jdbc.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/jdbc.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/redirect_streams.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/redirect_streams.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/shared_modules_hook.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/shared_modules_hook.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/jep/__pycache__/version.cpython-310.pyc
/usr/lib64/python3.10/site-packages/jep/console.py
/usr/lib64/python3.10/site-packages/jep/java_import_hook.py
/usr/lib64/python3.10/site-packages/jep/jdbc.py
/usr/lib64/python3.10/site-packages/jep/jep-3.9.1.jar
/usr/lib64/python3.10/site-packages/jep/jep.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/jep/libjep.so
/usr/lib64/python3.10/site-packages/jep/redirect_streams.py
/usr/lib64/python3.10/site-packages/jep/shared_modules_hook.py
/usr/lib64/python3.10/site-packages/jep/version.py
/usr/share/doc/python3-jep
/usr/share/doc/python3-jep/AUTHORS
/usr/share/doc/python3-jep/README.rst
/usr/share/doc/python3-jep/release_notes
/usr/share/doc/python3-jep/release_notes/1.0-notes.rst
/usr/share/doc/python3-jep/release_notes/1.1-notes.rst
/usr/share/doc/python3-jep/release_notes/2.0-notes.rst
/usr/share/doc/python3-jep/release_notes/2.1-notes.rst
/usr/share/doc/python3-jep/release_notes/2.2-notes.rst
/usr/share/doc/python3-jep/release_notes/2.3-notes.rst
/usr/share/doc/python3-jep/release_notes/2.4-notes.rst
/usr/share/doc/python3-jep/release_notes/3.0-notes.rst
/usr/share/doc/python3-jep/release_notes/3.1-notes.rst
/usr/share/doc/python3-jep/release_notes/3.2-notes.rst
/usr/share/doc/python3-jep/release_notes/3.3-notes.rst
/usr/share/doc/python3-jep/release_notes/3.4-notes.rst
/usr/share/doc/python3-jep/release_notes/3.5-notes.rst
/usr/share/doc/python3-jep/release_notes/3.6-notes.rst
/usr/share/doc/python3-jep/release_notes/3.7-notes.rst
/usr/share/doc/python3-jep/release_notes/3.8-notes.rst
/usr/share/doc/python3-jep/release_notes/3.9-notes.rst
/usr/share/licenses/python3-jep
/usr/share/licenses/python3-jep/LICENSE

References

Summary

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