How To Install python3-javaobj on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install python3-javaobj on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove python3-javaobj

References

Summary

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