How To Install ocaml-atdgen on Fedora 36

In this tutorial we learn how to install ocaml-atdgen in Fedora 36. ocaml-atdgen is Generates efficient JSON serializers, deserializers and validators

Introduction

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

What is ocaml-atdgen

Atdgen is a command-line program that takes as input type definitions in the ATD syntax and produces OCaml code suitable for data serialization and deserialization. Two data formats are currently supported, these are biniou and JSON. Atdgen-biniou and Atdgen-json will refer to Atdgen used in one context or the other. Atdgen was designed with efficiency and durability in mind. Software authors are encouraged to use Atdgen directly and to write tools that may reuse part of Atdgen’s source code.

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

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

sudo dnf -y install ocaml-atdgen

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

sudo yum -y install ocaml-atdgen

How To Uninstall ocaml-atdgen on Fedora 36

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

sudo dnf remove ocaml-atdgen

ocaml-atdgen Package Contents on Fedora 36

---
title: "How To Install ocaml-atdgen on Fedora 36"
linkTitle: "ocaml-atdgen"
type: "docs"
/usr/bin/atdgen
/usr/bin/atdgen-cppo
/usr/lib/.build-id
/usr/lib/.build-id/95
/usr/lib/.build-id/95/783a534314212ccb19ddd10e45e1b148fce82b
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/742af9e5e31ec13eec6b3890cac762e162b550
/usr/lib/ocaml/atdgen
/usr/lib/ocaml/atdgen/META
/usr/lib/ocaml/atdgen/atdgen.cma
/usr/lib/ocaml/atdgen/atdgen.cmi
/usr/lib/ocaml/atdgen/atdgen.cmxs
/usr/lib/ocaml/atdgen/atdgen__.cmi
/usr/lib/ocaml/atdgen/atdgen__Version.cmi
description: "In this tutorial we learn how to install ocaml-atdgen in Fedora 36. ocaml-atdgen is Generates efficient JSON serializers, deserializers and validators"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-atdgen-featured.png
---

Introduction

References

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

What is ocaml-atdgen

Summary

Atdgen is a command-line program that takes as input type definitions in the ATD syntax and produces OCaml code suitable for data serialization and deserialization. Two data formats are currently supported, these are biniou and JSON. Atdgen-biniou and Atdgen-json will refer to Atdgen used in one context or the other. Atdgen was designed with efficiency and durability in mind. Software authors are encouraged to use Atdgen directly and to write tools that may reuse part of Atdgen’s source code.

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

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

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

sudo dnf -y install ocaml-atdgen

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

sudo yum -y install ocaml-atdgen

How To Uninstall ocaml-atdgen on Fedora 36

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

sudo dnf remove ocaml-atdgen

ocaml-atdgen Package Contents on Fedora 36

/usr/bin/atdgen
/usr/bin/atdgen-cppo
/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/3a83dfdaa7f1a3e6dd7c159edf641ae718c5af
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/ad2a37adccffb8d2c4de6a694189442aa79d42
/usr/lib64/ocaml/atdgen
/usr/lib64/ocaml/atdgen/META
/usr/lib64/ocaml/atdgen/atdgen.cma
/usr/lib64/ocaml/atdgen/atdgen.cmi
/usr/lib64/ocaml/atdgen/atdgen.cmxs
/usr/lib64/ocaml/atdgen/atdgen__.cmi
/usr/lib64/ocaml/atdgen/atdgen__Version.cmi

References

Summary

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