How To Install yajl on Fedora 34

yajl is Yet Another JSON Library (YAJL) Yet Another JSON Library (YAJL)

Introduction

In this tutorial we learn how to install yajl on Fedora 34.

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. yajl 2.1.0 16.fc34 x86_64 38 k yajl-2.1.0-16.fc34.src.rpm fedora Yet Another JSON Library (YAJL) http ISC 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install yajl.

Install yajl on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install yajl using dnf by running the following command:

sudo dnf -y install yajl

Install yajl on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

To uninstall only the yajl package we can use the following command:

sudo dnf remove yajl

yajl Package Contents on Fedora 34

/usr/bin/json_reformat
/usr/bin/json_verify
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/3597050a8b3961ec6c74d611e5898fe7035749
/usr/lib/.build-id/47
/usr/lib/.build-id/47/e09e5f8ef32212027b43e91cff79ea0a6c00a2
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/f4d451a1a76f107b6799cb708fb4572ffb3892
/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
/usr/bin/json_reformat
/usr/bin/json_verify
/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/fb82f251f17e2f6998530cfc6aa6e10d765cd1
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/77d3c0023a32b28e029e08767e2661f934eef8
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/9c7ef211ff5c8db6f81a477ef1a18c4cbd24d2
/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

References

Summary

In this tutorial we learn how to install yajl on Fedora 34 using yum and dnf.