How To Install python3-javaobj on Rocky Linux 8

In this tutorial we learn how to install python3-javaobj on Rocky Linux 8. python3-javaobj is Python module for serializing and deserializing Java objects

Introduction

In this tutorial we learn how to install python3-javaobj on Rocky Linux 8.

What is python3-javaobj

python-javaobj is a python library that provides functions for reading and writing (writing is WIP currently) Java objects serialized or will be deserialized by ObjectOutputStream. This form of object representation is a standard data interchange format in Java world.

We can use yum or dnf to install python3-javaobj on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-javaobj.

Install python3-javaobj on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-javaobj using dnf by running the following command:

sudo dnf -y install python3-javaobj

Install python3-javaobj on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-javaobj using yum by running the following command:

sudo yum -y install python3-javaobj

How To Uninstall python3-javaobj on Rocky Linux 8

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

sudo dnf remove python3-javaobj

python3-javaobj Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/javaobj
/usr/lib/python3.6/site-packages/javaobj/__init__.py
/usr/lib/python3.6/site-packages/javaobj/__pycache__
/usr/lib/python3.6/site-packages/javaobj/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/modifiedutf8.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/modifiedutf8.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/constants.py
/usr/lib/python3.6/site-packages/javaobj/modifiedutf8.py
/usr/lib/python3.6/site-packages/javaobj/utils.py
/usr/lib/python3.6/site-packages/javaobj/v1
/usr/lib/python3.6/site-packages/javaobj/v1/__init__.py
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/beans.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/beans.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/marshaller.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/marshaller.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/transformers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/transformers.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/unmarshaller.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/__pycache__/unmarshaller.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v1/beans.py
/usr/lib/python3.6/site-packages/javaobj/v1/core.py
/usr/lib/python3.6/site-packages/javaobj/v1/marshaller.py
/usr/lib/python3.6/site-packages/javaobj/v1/transformers.py
/usr/lib/python3.6/site-packages/javaobj/v1/unmarshaller.py
/usr/lib/python3.6/site-packages/javaobj/v2
/usr/lib/python3.6/site-packages/javaobj/v2/__init__.py
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/api.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/beans.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/beans.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/stream.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/stream.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/transformers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/__pycache__/transformers.cpython-36.pyc
/usr/lib/python3.6/site-packages/javaobj/v2/api.py
/usr/lib/python3.6/site-packages/javaobj/v2/beans.py
/usr/lib/python3.6/site-packages/javaobj/v2/core.py
/usr/lib/python3.6/site-packages/javaobj/v2/main.py
/usr/lib/python3.6/site-packages/javaobj/v2/stream.py
/usr/lib/python3.6/site-packages/javaobj/v2/transformers.py
/usr/lib/python3.6/site-packages/javaobj_py3-0.4.0.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/javaobj_py3-0.4.0.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/javaobj_py3-0.4.0.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/javaobj_py3-0.4.0.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/javaobj_py3-0.4.0.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/javaobj_py3-0.4.0.1-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-javaobj
/usr/share/doc/python3-javaobj/README.rst
/usr/share/licenses/python3-javaobj
/usr/share/licenses/python3-javaobj/LICENSE

References

Summary

In this tutorial we learn how to install python3-javaobj on Rocky Linux 8 using yum and dnf.