How To Install ocaml-ppx-assert on Fedora 36

In this tutorial we learn how to install ocaml-ppx-assert in Fedora 36. ocaml-ppx-assert is Assert-like extension nodes that raise useful errors on failure

Introduction

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

What is ocaml-ppx-assert

Ppx_assert is a ppx rewriter that defines assert-like extension nodes that raise useful errors on failure.

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

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

sudo dnf -y install ocaml-ppx-assert

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

sudo yum -y install ocaml-ppx-assert

How To Uninstall ocaml-ppx-assert on Fedora 36

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

sudo dnf remove ocaml-ppx-assert

ocaml-ppx-assert Package Contents on Fedora 36

---
title: "How To Install ocaml-ppx-assert on Fedora 36"
linkTitle: "ocaml-ppx-assert"
type: "docs"
description: "In this tutorial we learn how to install ocaml-ppx-assert in Fedora 36. ocaml-ppx-assert is Assert-like extension nodes that raise useful errors on failure"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-ppx-assert-featured.png
---

## Introduction

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

### What is `ocaml-ppx-assert`

> Ppx_assert is a ppx rewriter that defines assert-like extension nodes that raise useful errors on failure.  

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

## Install ocaml-ppx-assert on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install ocaml-ppx-assert using dnf by running the following command:

sudo dnf -y install ocaml-ppx-assert

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

sudo yum -y install ocaml-ppx-assert

How To Uninstall ocaml-ppx-assert on Fedora 36

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

sudo dnf remove ocaml-ppx-assert

ocaml-ppx-assert Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/73cbcc5f08255a2ca714eea00937715f050265
/usr/lib/.build-id/58
/usr/lib/.build-id/58/2f2db1c02c7ce7cb17f3782bfbb8ddcbf098a1
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/427571b5dfefc11efdd06bf220783d3e0ccfff
/usr/lib/ocaml/ppx_assert
/usr/lib/ocaml/ppx_assert/META
/usr/lib/ocaml/ppx_assert/ppx.exe
/usr/lib/ocaml/ppx_assert/ppx_assert.cma
/usr/lib/ocaml/ppx_assert/ppx_assert.cmi
/usr/lib/ocaml/ppx_assert/ppx_assert.cmxs
/usr/lib/ocaml/ppx_assert/runtime-lib
/usr/lib/ocaml/ppx_assert/runtime-lib/ppx_assert_lib.cma
/usr/lib/ocaml/ppx_assert/runtime-lib/ppx_assert_lib.cmi
/usr/lib/ocaml/ppx_assert/runtime-lib/ppx_assert_lib.cmxs
/usr/lib/ocaml/ppx_assert/runtime-lib/ppx_assert_lib__Runtime.cmi
/usr/share/doc/ocaml-ppx-assert
/usr/share/doc/ocaml-ppx-assert/CHANGES.md
/usr/share/doc/ocaml-ppx-assert/README.md
/usr/share/licenses/ocaml-ppx-assert
/usr/share/licenses/ocaml-ppx-assert/LICENSE.md

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/1b /usr/lib/.build-id/1b/9e7a863cf8a12e0aebae1732e1997fbc718119 /usr/lib/.build-id/29 /usr/lib/.build-id/29/96217f82b7636a23c2a17ef50a416911b07ff2 /usr/lib/.build-id/bc /usr/lib/.build-id/bc/5c45d8f7f817fcd980712081f4eb4ac6b2f359 /usr/lib64/ocaml/ppx_assert /usr/lib64/ocaml/ppx_assert/META /usr/lib64/ocaml/ppx_assert/ppx.exe /usr/lib64/ocaml/ppx_assert/ppx_assert.cma /usr/lib64/ocaml/ppx_assert/ppx_assert.cmi /usr/lib64/ocaml/ppx_assert/ppx_assert.cmxs /usr/lib64/ocaml/ppx_assert/runtime-lib /usr/lib64/ocaml/ppx_assert/runtime-lib/ppx_assert_lib.cma /usr/lib64/ocaml/ppx_assert/runtime-lib/ppx_assert_lib.cmi /usr/lib64/ocaml/ppx_assert/runtime-lib/ppx_assert_lib.cmxs /usr/lib64/ocaml/ppx_assert/runtime-lib/ppx_assert_lib__Runtime.cmi /usr/share/doc/ocaml-ppx-assert /usr/share/doc/ocaml-ppx-assert/CHANGES.md /usr/share/doc/ocaml-ppx-assert/README.md /usr/share/licenses/ocaml-ppx-assert /usr/share/licenses/ocaml-ppx-assert/LICENSE.md


## References

* [ocaml-ppx-assert website](https://github.com/janestreet/ppx_assert)

## Summary

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