How To Install python3-json2table on AlmaLinux 8

In this tutorial we learn how to install python3-json2table in AlmaLinux 8. python3-json2table is Python module to convert JSON to an HTML table

Introduction

In this tutorial we learn how to install python3-json2table on AlmaLinux 8.

What is python3-json2table

This is a simple Python package that allows a JSON object to be converted to HTML. It provides a convert function that accepts a dict instance and returns a string of converted HTML.

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

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

sudo dnf -y install python3-json2table

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

sudo yum -y install python3-json2table

How To Uninstall python3-json2table on AlmaLinux 8

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

sudo dnf remove python3-json2table

References

Summary

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