How To Install jsonnet-devel on Rocky Linux 8

In this tutorial we learn how to install jsonnet-devel on Rocky Linux 8. jsonnet-devel is Development Headers for jsonnet

Introduction

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

What is jsonnet-devel

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

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

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

sudo dnf -y install jsonnet-devel

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

sudo yum -y install jsonnet-devel

How To Uninstall jsonnet-devel on Rocky Linux 8

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

sudo dnf remove jsonnet-devel

jsonnet-devel Package Contents on Rocky Linux 8

/usr/include/libjsonnet++.h
/usr/include/libjsonnet.h
/usr/include/libjsonnet_fmt.h
/usr/lib64/libjsonnet++.so
/usr/lib64/libjsonnet.so

References

Summary

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