How To Install jsonnet-libs on Rocky Linux 8

In this tutorial we learn how to install jsonnet-libs on Rocky Linux 8. jsonnet-libs is Shared Libraries for jsonnet

Introduction

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

What is jsonnet-libs

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

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

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

sudo dnf -y install jsonnet-libs

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

sudo yum -y install jsonnet-libs

How To Uninstall jsonnet-libs on Rocky Linux 8

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

sudo dnf remove jsonnet-libs

jsonnet-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/3150a864cc9889946bfcbd5a834893960e9d1f
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/55662e5009b71f8e265fd0078f6cf7a9dbd18f
/usr/lib64/libjsonnet++.so.0
/usr/lib64/libjsonnet++.so.0.17.0
/usr/lib64/libjsonnet.so.0
/usr/lib64/libjsonnet.so.0.17.0
/usr/share/doc/jsonnet-libs
/usr/share/doc/jsonnet-libs/README.md
/usr/share/licenses/jsonnet-libs
/usr/share/licenses/jsonnet-libs/LICENSE

References

Summary

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