How To Install python3-jsonnet on Rocky Linux 8

In this tutorial we learn how to install python3-jsonnet on Rocky Linux 8. python3-jsonnet is jsonnet Bindings for Python

Introduction

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

What is python3-jsonnet

A data templating language for app and tool developers based on JSON

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

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

sudo dnf -y install python3-jsonnet

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

sudo yum -y install python3-jsonnet

How To Uninstall python3-jsonnet on Rocky Linux 8

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

sudo dnf remove python3-jsonnet

python3-jsonnet Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/0f0e9a4991cc7b3b3127ad7f47ec4183394964
/usr/lib64/python3.6/site-packages/_jsonnet.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/jsonnet-0.17.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/jsonnet-0.17.0-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/jsonnet-0.17.0-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/jsonnet-0.17.0-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/jsonnet-0.17.0-py3.6.egg-info/top_level.txt

References

Summary

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