How To Install libason on Fedora 34

libason is A library for manipulating ASON values A library for manipulating ASON values

Introduction

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

What is libason

ASON is an extension of JSON which specifies a semantic, and allows for pattern expressions that can specify or match groups of JSON values. libason is a simple library for manipulating ASON programmatically in C. libason 0.1.2 16.fc34 x86_64 47 k libason-0.1.2-16.fc34.src.rpm fedora A library for manipulating ASON values https GPLv3+ ASON is an extension of JSON which specifies a semantic, and allows for pattern expressions that can specify or match groups of JSON values. libason is a simple library for manipulating ASON programmatically in C.

We can use yum or dnf to install libason on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libason.

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

sudo dnf -y install libason

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

sudo yum -y install libason

How To Uninstall libason on Fedora 34

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

sudo dnf remove libason

libason Package Contents on Fedora 34

/usr/bin/asonq
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/e620b3d24b6b4d767b744d9b439adba4c8edfb
/usr/lib/.build-id/88
/usr/lib/.build-id/88/30405e710e67585fec31594e3efce5d39eb1bc
/usr/lib64/libason.so.0
/usr/lib64/libason.so.0.0.0
/usr/share/doc/libason
/usr/share/doc/libason/COPYING
/usr/share/man/man1/asonq.1.gz
/usr/bin/asonq
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/7431f7aa41b58865c7c484d7d6d86f9f51e377
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/3438f5f16d17417331d5a873621a95ec7c84c4
/usr/lib/libason.so.0
/usr/lib/libason.so.0.0.0
/usr/share/doc/libason
/usr/share/doc/libason/COPYING
/usr/share/man/man1/asonq.1.gz

References

Summary

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