How To Install ocaml-ppx-cold on Fedora 36

In this tutorial we learn how to install ocaml-ppx-cold in Fedora 36. ocaml-ppx-cold is OCaml definition of [@@cold] attribute

Introduction

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

What is ocaml-ppx-cold

Ppx_cold translates [@@cold] attributes to [@@inline never] [@@local never] [@@specialise never]. See the discussion in https

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

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

sudo dnf -y install ocaml-ppx-cold

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

sudo yum -y install ocaml-ppx-cold

How To Uninstall ocaml-ppx-cold on Fedora 36

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

sudo dnf remove ocaml-ppx-cold

ocaml-ppx-cold Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/100a9ea1c7ef1878b5d065b3bccde14c202f69
/usr/lib/.build-id/95
/usr/lib/.build-id/95/015c57f3130586ac1c2aa30acd4a3594467fe3
/usr/lib/ocaml/ppx_cold
/usr/lib/ocaml/ppx_cold/META
/usr/lib/ocaml/ppx_cold/ppx.exe
/usr/lib/ocaml/ppx_cold/ppx_cold.cma
/usr/lib/ocaml/ppx_cold/ppx_cold.cmi
/usr/lib/ocaml/ppx_cold/ppx_cold.cmxs
/usr/share/doc/ocaml-ppx-cold
/usr/share/doc/ocaml-ppx-cold/README.md
/usr/share/licenses/ocaml-ppx-cold
/usr/share/licenses/ocaml-ppx-cold/LICENSE.md

References

Summary

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


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

Introduction

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

What is ocaml-ppx-cold

Ppx_cold translates [@@cold] attributes to [@@inline never] [@@local never] [@@specialise never]. See the discussion in https

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

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

sudo dnf -y install ocaml-ppx-cold

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

sudo yum -y install ocaml-ppx-cold

How To Uninstall ocaml-ppx-cold on Fedora 36

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

sudo dnf remove ocaml-ppx-cold

ocaml-ppx-cold Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/308037e02628464d14bf65e5e57f8a46db31ce
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/f17807156a2b759b8be8791b075bffffb8ca9e
/usr/lib64/ocaml/ppx_cold
/usr/lib64/ocaml/ppx_cold/META
/usr/lib64/ocaml/ppx_cold/ppx.exe
/usr/lib64/ocaml/ppx_cold/ppx_cold.cma
/usr/lib64/ocaml/ppx_cold/ppx_cold.cmi
/usr/lib64/ocaml/ppx_cold/ppx_cold.cmxs
/usr/share/doc/ocaml-ppx-cold
/usr/share/doc/ocaml-ppx-cold/README.md
/usr/share/licenses/ocaml-ppx-cold
/usr/share/licenses/ocaml-ppx-cold/LICENSE.md

References

Summary

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