How To Install libserializer on Rocky Linux 8

In this tutorial we learn how to install libserializer on Rocky Linux 8. libserializer is JFreeReport General Serialization Framework

Introduction

In this tutorial we learn how to install libserializer on Rocky Linux 8.

What is libserializer

Libserializer contains a general serialization framework that simplifies the task of writing custom java serialization handlers.

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

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

sudo dnf -y install libserializer

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

sudo yum -y install libserializer

How To Uninstall libserializer on Rocky Linux 8

To uninstall only the libserializer package we can use the following command:

sudo dnf remove libserializer

libserializer Package Contents on Rocky Linux 8

/usr/share/doc/libserializer
/usr/share/doc/libserializer/ChangeLog.txt
/usr/share/doc/libserializer/README.txt
/usr/share/doc/libserializer/licence-LGPL.txt
/usr/share/java/libserializer.jar

References

Summary

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