How To Install dhall-json on Fedora 36

In this tutorial we learn how to install dhall-json in Fedora 36. dhall-json is Convert between Dhall and JSON or YAML

Introduction

In this tutorial we learn how to install dhall-json on Fedora 36.

What is dhall-json

Use this package if you want to convert between Dhall expressions and JSON or YAML. You can use this package as a library or an executable * See the “Dhall.JSON” or “Dhall.JSONToDhall” modules if you want to use this package as a library * Use the ‘dhall-to-json’, ‘dhall-to-yaml’, or ‘json-to-dhall’ programs from this package if you want an executable The “Dhall.JSON” and “Dhall.JSONToDhall” modules also contains instructions for how to use this package.

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

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

sudo dnf -y install dhall-json

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

sudo yum -y install dhall-json

How To Uninstall dhall-json on Fedora 36

To uninstall only the dhall-json package we can use the following command:

sudo dnf remove dhall-json

dhall-json Package Contents on Fedora 36

/usr/bin/dhall-to-json
/usr/bin/dhall-to-yaml
/usr/bin/json-to-dhall
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/fec1ed70644f76ca811ac074c4d970829fc020
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/fe41826b9c4fe8bd8e8513918acce8af311446
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/ed9a4ea96bc3815d79c9232cd8e607f6b97ec5
/usr/share/bash-completion/completions/dhall-to-json
/usr/share/bash-completion/completions/dhall-to-yaml
/usr/share/bash-completion/completions/json-to-dhall
/usr/share/doc/dhall-json
/usr/share/doc/dhall-json/CHANGELOG.md
/usr/share/licenses/dhall-json
/usr/share/licenses/dhall-json/LICENSE

References

Summary

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