How To Install ocaml-atdj on Fedora 36

In this tutorial we learn how to install ocaml-atdj in Fedora 36. ocaml-atdj is Java code generation for ATD

Introduction

In this tutorial we learn how to install ocaml-atdj on Fedora 36.

What is ocaml-atdj

Atdj is a program that generates a Java interface from type definitions. In particular, given a set of ATD type definitions, this tool generates a set of Java classes representing those types with built-in JSON serializers and deserializers. The primary benefits of using the generated interface, over manually manipulating JSON strings from within Java, are safety and ease of use. Specifically, the generated interface offers the following features - JSON strings are automatically checked for correctness with respect to the ATD specification. - Details such as optional fields and their associated default values are automatically handled.

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

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

sudo dnf -y install ocaml-atdj

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

sudo yum -y install ocaml-atdj

How To Uninstall ocaml-atdj on Fedora 36

To uninstall only the ocaml-atdj package we can use the following command:

sudo dnf remove ocaml-atdj

ocaml-atdj Package Contents on Fedora 36

/usr/bin/atdj
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/197b93c61cdce8f694a378c38c86d818ffa88c

References

Summary

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