How To Install erlang-kvc on Fedora 36

In this tutorial we learn how to install erlang-kvc in Fedora 36. erlang-kvc is Key Value Coding for Erlang data structures

Introduction

In this tutorial we learn how to install erlang-kvc on Fedora 36.

What is erlang-kvc

kvc supports Key Value Coding-like queries on common Erlang data structures. A common use case for kvc is to quickly access one or more deep values in decoded JSON, or some other nested data structure. It can also help with some aggregate operations. It solves similar problems that you might want to use a tool like XPath or jQuery for, but it is far simpler and strictly less powerful. It’s inspired by Apple’s NSKeyValueCoding protocol from Objective-C.

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

Install erlang-kvc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install erlang-kvc

Install erlang-kvc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install erlang-kvc using yum by running the following command:

sudo yum -y install erlang-kvc

How To Uninstall erlang-kvc on Fedora 36

To uninstall only the erlang-kvc package we can use the following command:

sudo dnf remove erlang-kvc

erlang-kvc Package Contents on Fedora 36

/usr/share/doc/erlang-kvc
/usr/share/doc/erlang-kvc/CHANGES.md
/usr/share/doc/erlang-kvc/README.md
/usr/share/erlang/lib/kvc-1.7.0
/usr/share/erlang/lib/kvc-1.7.0/ebin
/usr/share/erlang/lib/kvc-1.7.0/ebin/kvc.app
/usr/share/erlang/lib/kvc-1.7.0/ebin/kvc.beam
/usr/share/licenses/erlang-kvc
/usr/share/licenses/erlang-kvc/LICENSE

References

Summary

In this tutorial we learn how to install erlang-kvc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).