How To Install yajl on Rocky Linux 8
Introduction
In this tutorial we learn how to install yajl
on Rocky Linux 8.
What is yajl
Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.
We can use yum
or dnf
to install yajl
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install yajl.
Install yajl 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 yajl
using dnf
by running the following command:
sudo dnf -y install yajl
Install yajl 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 yajl
using yum
by running the following command:
sudo yum -y install yajl
How To Uninstall yajl on Rocky Linux 8
To uninstall only the yajl
package we can use the following command:
sudo dnf remove yajl
yajl Package Contents on Rocky Linux 8
/usr/bin/json_reformat
/usr/bin/json_verify
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/1eae71b36820095cba1509634e63478ea46ea8
/usr/lib/.build-id/67
/usr/lib/.build-id/67/37de9319028b26ceac08259a0440f3bdb9bd3d
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/37d3a9fe6649810d5df8c8c34fb9ec726fddd0
/usr/lib/libyajl.so.2
/usr/lib/libyajl.so.2.1.0
/usr/share/doc/yajl
/usr/share/doc/yajl/ChangeLog
/usr/share/doc/yajl/README
/usr/share/doc/yajl/TODO
/usr/share/licenses/yajl
/usr/share/licenses/yajl/COPYING
/usr/bin/json_reformat
/usr/bin/json_verify
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/52c7d02a409d3640b7acac55db4c5c3064e5af
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/b54fdc51002f2dcc2aed0b6e75fd4644356ac6
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/44a10dd5c53425c01f33e69e3e95311567029d
/usr/lib64/libyajl.so.2
/usr/lib64/libyajl.so.2.1.0
/usr/share/doc/yajl
/usr/share/doc/yajl/ChangeLog
/usr/share/doc/yajl/README
/usr/share/doc/yajl/TODO
/usr/share/licenses/yajl
/usr/share/licenses/yajl/COPYING
References
Summary
In this tutorial we learn how to install yajl
on Rocky Linux 8 using yum and dnf.