How To Install ocaml-ppx-optcomp on Fedora 36

In this tutorial we learn how to install ocaml-ppx-optcomp in Fedora 36. ocaml-ppx-optcomp is Optional compilation for OCaml

Introduction

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

What is ocaml-ppx-optcomp

Ppx_optcomp provides optional compilation for OCaml. It is a tool used to handle optional compilations of pieces of code depending of the word size, the version of the compiler, etc. The syntax is based on OCaml item extension nodes, with keywords similar to cpp.

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

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

sudo dnf -y install ocaml-ppx-optcomp

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

sudo yum -y install ocaml-ppx-optcomp

How To Uninstall ocaml-ppx-optcomp on Fedora 36

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

sudo dnf remove ocaml-ppx-optcomp

ocaml-ppx-optcomp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/af27efe2dfe71e0ba554607eaedfb1756ce286
/usr/lib/ocaml/ppx_optcomp
/usr/lib/ocaml/ppx_optcomp/META
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp.cma
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp.cmi
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp.cmxs
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp__.cmi
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp__Cparser.cmi
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp__Interpreter.cmi
/usr/lib/ocaml/ppx_optcomp/ppx_optcomp__Token.cmi
/usr/share/doc/ocaml-ppx-optcomp
/usr/share/doc/ocaml-ppx-optcomp/CHANGES.md
/usr/share/doc/ocaml-ppx-optcomp/README.md
/usr/share/licenses/ocaml-ppx-optcomp
/usr/share/licenses/ocaml-ppx-optcomp/LICENSE.md

References

Summary

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


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

Introduction

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

What is ocaml-ppx-optcomp

Ppx_optcomp provides optional compilation for OCaml. It is a tool used to handle optional compilations of pieces of code depending of the word size, the version of the compiler, etc. The syntax is based on OCaml item extension nodes, with keywords similar to cpp.

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

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

sudo dnf -y install ocaml-ppx-optcomp

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

sudo yum -y install ocaml-ppx-optcomp

How To Uninstall ocaml-ppx-optcomp on Fedora 36

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

sudo dnf remove ocaml-ppx-optcomp

ocaml-ppx-optcomp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/7d119f733498df88a371e6e8ac43458b5b962e
/usr/lib64/ocaml/ppx_optcomp
/usr/lib64/ocaml/ppx_optcomp/META
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp.cma
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp.cmi
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp.cmxs
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp__.cmi
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp__Cparser.cmi
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp__Interpreter.cmi
/usr/lib64/ocaml/ppx_optcomp/ppx_optcomp__Token.cmi
/usr/share/doc/ocaml-ppx-optcomp
/usr/share/doc/ocaml-ppx-optcomp/CHANGES.md
/usr/share/doc/ocaml-ppx-optcomp/README.md
/usr/share/licenses/ocaml-ppx-optcomp
/usr/share/licenses/ocaml-ppx-optcomp/LICENSE.md

References

Summary

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