How To Install ocaml-ppx-base on Fedora 36

In this tutorial we learn how to install ocaml-ppx-base in Fedora 36. ocaml-ppx-base is Base set of OCaml ppx rewriters

Introduction

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

What is ocaml-ppx-base

Ppx_base is the set of ppx rewriters used for Base. Note that Base doesn’t need ppx to build; it is only used as a verification tool.

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

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

sudo dnf -y install ocaml-ppx-base

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

sudo yum -y install ocaml-ppx-base

How To Uninstall ocaml-ppx-base on Fedora 36

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

sudo dnf remove ocaml-ppx-base

ocaml-ppx-base Package Contents on Fedora 36

/usr/bin/ppx-base
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/0d0cff038d1b5ed3604c912c4761076bc125ed
/usr/lib/.build-id/28
/usr/lib/.build-id/28/4a3cc3c546e3e031810fb054de1e94b4740fbe
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/2a96789b24ae25bfff36b5b893e3b92f1943ae
/usr/lib/ocaml/ppx_base
/usr/lib/ocaml/ppx_base/META
/usr/lib/ocaml/ppx_base/ppx.exe
/usr/lib/ocaml/ppx_base/ppx_base.cma
/usr/lib/ocaml/ppx_base/ppx_base.cmi
/usr/lib/ocaml/ppx_base/ppx_base.cmxs
/usr/share/licenses/ocaml-ppx-base
/usr/share/licenses/ocaml-ppx-base/LICENSE.md

References

Summary

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


title: “How To Install ocaml-ppx-base on Fedora 36” linkTitle: “ocaml-ppx-base” type: “docs” description: “In this tutorial we learn how to install ocaml-ppx-base in Fedora 36. ocaml-ppx-base is Base set of OCaml ppx rewriters” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-ppx-base-featured.png

Introduction

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

What is ocaml-ppx-base

Ppx_base is the set of ppx rewriters used for Base. Note that Base doesn’t need ppx to build; it is only used as a verification tool.

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

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

sudo dnf -y install ocaml-ppx-base

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

sudo yum -y install ocaml-ppx-base

How To Uninstall ocaml-ppx-base on Fedora 36

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

sudo dnf remove ocaml-ppx-base

ocaml-ppx-base Package Contents on Fedora 36

/usr/bin/ppx-base
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/554b5da0c28cd10d29e0ad4a9e836d28f023f2
/usr/lib/.build-id/78
/usr/lib/.build-id/78/b6cfaa4ff5858228bb56b0537bf976664f351f
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/1d0f298c2490a5c8f1744d9a179a465c06b365
/usr/lib64/ocaml/ppx_base
/usr/lib64/ocaml/ppx_base/META
/usr/lib64/ocaml/ppx_base/ppx.exe
/usr/lib64/ocaml/ppx_base/ppx_base.cma
/usr/lib64/ocaml/ppx_base/ppx_base.cmi
/usr/lib64/ocaml/ppx_base/ppx_base.cmxs
/usr/share/licenses/ocaml-ppx-base
/usr/share/licenses/ocaml-ppx-base/LICENSE.md

References

Summary

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