How To Install ocaml-atds on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-atds
on Fedora 36.
What is ocaml-atds
Atds is a program that generates a Scala interface from type definitions. In particular, given a set of ATD type definitions, this tool generates a set of Scala 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 Scala, 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-atds
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-atds.
Install ocaml-atds 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-atds
using dnf
by running the following command:
sudo dnf -y install ocaml-atds
Install ocaml-atds 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-atds
using yum
by running the following command:
sudo yum -y install ocaml-atds
How To Uninstall ocaml-atds on Fedora 36
To uninstall only the ocaml-atds
package we can use the following command:
sudo dnf remove ocaml-atds
ocaml-atds Package Contents on Fedora 36
/usr/bin/atds
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/ac6b6af7f1b84273820e3d6248230233cbbcb0
References
Summary
In this tutorial we learn how to install ocaml-atds
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).