How To Install ocaml-ppx-deriving-yojson on Fedora 36

In this tutorial we learn how to install ocaml-ppx-deriving-yojson in Fedora 36. ocaml-ppx-deriving-yojson is JSON codec generator for OCaml

Introduction

In this tutorial we learn how to install ocaml-ppx-deriving-yojson on Fedora 36.

What is ocaml-ppx-deriving-yojson

Deriving_Yojson is a ppx_deriving plugin that generates JSON serializers and deserializers that use the Yojson library from an OCaml type definition.

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

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

sudo dnf -y install ocaml-ppx-deriving-yojson

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

sudo yum -y install ocaml-ppx-deriving-yojson

How To Uninstall ocaml-ppx-deriving-yojson on Fedora 36

To uninstall only the ocaml-ppx-deriving-yojson package we can use the following command:

sudo dnf remove ocaml-ppx-deriving-yojson

ocaml-ppx-deriving-yojson Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/7f808726b115b8d523a1cadf225d1a67d1be5b
/usr/lib/.build-id/96
/usr/lib/.build-id/96/2d7303740463e0ed36d0a5128d4c565c9b0a68
/usr/lib64/ocaml/ppx_deriving_yojson
/usr/lib64/ocaml/ppx_deriving_yojson/META
/usr/lib64/ocaml/ppx_deriving_yojson/ppx_deriving_yojson.cma
/usr/lib64/ocaml/ppx_deriving_yojson/ppx_deriving_yojson.cmi
/usr/lib64/ocaml/ppx_deriving_yojson/ppx_deriving_yojson.cmxs
/usr/lib64/ocaml/ppx_deriving_yojson/runtime
/usr/lib64/ocaml/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cma
/usr/lib64/ocaml/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cmi
/usr/lib64/ocaml/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cmxs
/usr/share/doc/ocaml-ppx-deriving-yojson
/usr/share/doc/ocaml-ppx-deriving-yojson/CHANGELOG.md
/usr/share/doc/ocaml-ppx-deriving-yojson/README.md
/usr/share/licenses/ocaml-ppx-deriving-yojson
/usr/share/licenses/ocaml-ppx-deriving-yojson/LICENSE.txt

References

Summary

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


title: “How To Install ocaml-ppx-deriving-yojson on Fedora 36” linkTitle: “ocaml-ppx-deriving-yojson” type: “docs” description: “In this tutorial we learn how to install ocaml-ppx-deriving-yojson in Fedora 36. ocaml-ppx-deriving-yojson is JSON codec generator for OCaml” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-ppx-deriving-yojson-featured.png

Introduction

In this tutorial we learn how to install ocaml-ppx-deriving-yojson on Fedora 36.

What is ocaml-ppx-deriving-yojson

Deriving_Yojson is a ppx_deriving plugin that generates JSON serializers and deserializers that use the Yojson library from an OCaml type definition.

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

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

sudo dnf -y install ocaml-ppx-deriving-yojson

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

sudo yum -y install ocaml-ppx-deriving-yojson

How To Uninstall ocaml-ppx-deriving-yojson on Fedora 36

To uninstall only the ocaml-ppx-deriving-yojson package we can use the following command:

sudo dnf remove ocaml-ppx-deriving-yojson

ocaml-ppx-deriving-yojson Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/44917eb0b0cd117d7fcafc75a7900ecd92e25e
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/02d92c95a6ea32e170b72c98e4cb3e51531b69
/usr/lib/ocaml/ppx_deriving_yojson
/usr/lib/ocaml/ppx_deriving_yojson/META
/usr/lib/ocaml/ppx_deriving_yojson/ppx_deriving_yojson.cma
/usr/lib/ocaml/ppx_deriving_yojson/ppx_deriving_yojson.cmi
/usr/lib/ocaml/ppx_deriving_yojson/ppx_deriving_yojson.cmxs
/usr/lib/ocaml/ppx_deriving_yojson/runtime
/usr/lib/ocaml/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cma
/usr/lib/ocaml/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cmi
/usr/lib/ocaml/ppx_deriving_yojson/runtime/ppx_deriving_yojson_runtime.cmxs
/usr/share/doc/ocaml-ppx-deriving-yojson
/usr/share/doc/ocaml-ppx-deriving-yojson/CHANGELOG.md
/usr/share/doc/ocaml-ppx-deriving-yojson/README.md
/usr/share/licenses/ocaml-ppx-deriving-yojson
/usr/share/licenses/ocaml-ppx-deriving-yojson/LICENSE.txt

References

Summary

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