How To Install ocaml-bisect-ppx on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-bisect-ppx
on Fedora 36.
What is ocaml-bisect-ppx
Bisect_ppx is a code coverage tool for OCaml. It helps you test thoroughly by showing which parts of your code are not tested. It is a small preprocessor that inserts instrumentation at places in your code, such as if-then-else and match expressions. After you run tests, Bisect_ppx gives a nice HTML report showing which places were visited and which were missed. Usage is simple - add package bisect_ppx when building tests, run your tests, then run the Bisect_ppx report tool on the generated visitation files.
We can use yum
or dnf
to install ocaml-bisect-ppx
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-bisect-ppx.
Install ocaml-bisect-ppx 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-bisect-ppx
using dnf
by running the following command:
sudo dnf -y install ocaml-bisect-ppx
Install ocaml-bisect-ppx 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-bisect-ppx
using yum
by running the following command:
sudo yum -y install ocaml-bisect-ppx
How To Uninstall ocaml-bisect-ppx on Fedora 36
To uninstall only the ocaml-bisect-ppx
package we can use the following command:
sudo dnf remove ocaml-bisect-ppx
ocaml-bisect-ppx Package Contents on Fedora 36
---
title: "How To Install ocaml-bisect-ppx on Fedora 36"
linkTitle: "ocaml-bisect-ppx"
type: "docs"
description: "In this tutorial we learn how to install ocaml-bisect-ppx in Fedora 36. ocaml-bisect-ppx is Code coverage for OCaml and Reason"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-bisect-ppx-featured.png
---
## Introduction
In this tutorial we learn how to install `ocaml-bisect-ppx` on Fedora 36.
### What is `ocaml-bisect-ppx`
> Bisect_ppx is a code coverage tool for OCaml. It helps you test thoroughly by showing which parts of your code are *not* tested. It is a small preprocessor that inserts instrumentation at places in your code, such as if-then-else and match expressions. After you run tests, Bisect_ppx gives a nice HTML report showing which places were visited and which were missed. Usage is simple - add package bisect_ppx when building tests, run your tests, then run the Bisect_ppx report tool on the generated visitation files.
We can use `yum` or `dnf` to install `ocaml-bisect-ppx` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-bisect-ppx.
## Install ocaml-bisect-ppx 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-bisect-ppx
using dnf
by running the following command:
sudo dnf -y install ocaml-bisect-ppx
Install ocaml-bisect-ppx 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-bisect-ppx
using yum
by running the following command:
sudo yum -y install ocaml-bisect-ppx
How To Uninstall ocaml-bisect-ppx on Fedora 36
To uninstall only the ocaml-bisect-ppx
package we can use the following command:
sudo dnf remove ocaml-bisect-ppx
ocaml-bisect-ppx Package Contents on Fedora 36
/usr/bin/bisect-ppx-report
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/e2bed91b2cef138c2aa5a4103aeb3bfe1b878d
/usr/lib/.build-id/06
/usr/lib/.build-id/06/9768b192e38cdf7c22fe5f13c7b00222003690
/usr/lib/.build-id/18
/usr/lib/.build-id/18/b91b89aa554d123c33ab65884c6e00455dc5d7
/usr/lib/.build-id/44
/usr/lib/.build-id/44/92ebbf5ced3caafb45df807bede6d2db15c457
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/857c8c17922b445f11e726a065279137bb8236
/usr/lib64/ocaml/bisect_ppx
/usr/lib64/ocaml/bisect_ppx/META
/usr/lib64/ocaml/bisect_ppx/bisect_ppx.cma
/usr/lib64/ocaml/bisect_ppx/bisect_ppx.cmi
/usr/lib64/ocaml/bisect_ppx/bisect_ppx.cmxs
/usr/lib64/ocaml/bisect_ppx/bisect_ppx__Exclude.cmi
/usr/lib64/ocaml/bisect_ppx/bisect_ppx__Exclude_lexer.cmi
/usr/lib64/ocaml/bisect_ppx/bisect_ppx__Exclude_parser.cmi
/usr/lib64/ocaml/bisect_ppx/bisect_ppx__Exclusions.cmi
/usr/lib64/ocaml/bisect_ppx/bisect_ppx__Instrument.cmi
/usr/lib64/ocaml/bisect_ppx/bisect_ppx__Register.cmi
/usr/lib64/ocaml/bisect_ppx/common
/usr/lib64/ocaml/bisect_ppx/common/bisect_common.cma
/usr/lib64/ocaml/bisect_ppx/common/bisect_common.cmi
/usr/lib64/ocaml/bisect_ppx/common/bisect_common.cmxs
/usr/lib64/ocaml/bisect_ppx/ppx.exe
/usr/lib64/ocaml/bisect_ppx/runtime
/usr/lib64/ocaml/bisect_ppx/runtime/bisect.cma
/usr/lib64/ocaml/bisect_ppx/runtime/bisect.cmi
/usr/lib64/ocaml/bisect_ppx/runtime/bisect.cmxs
/usr/lib64/ocaml/bisect_ppx/runtime/bisect__Runtime.cmi
/usr/share/doc/ocaml-bisect-ppx
/usr/share/doc/ocaml-bisect-ppx/CHANGES
/usr/share/doc/ocaml-bisect-ppx/README.md
/usr/share/doc/ocaml-bisect-ppx/advanced.md
/usr/share/licenses/ocaml-bisect-ppx
/usr/share/licenses/ocaml-bisect-ppx/LICENSE.md
/usr/share/man/man1/bisect-ppx-report.1.gz
References
Summary
In this tutorial we learn how to install ocaml-bisect-ppx
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/bisect-ppx-report /usr/lib/.build-id /usr/lib/.build-id/37 /usr/lib/.build-id/37/6743d1cdcaa401dad8640abee2b598eecbd862 /usr/lib/.build-id/7f /usr/lib/.build-id/7f/d6eaea445b09be3616fa25f74c6172c26821a5 /usr/lib/.build-id/96 /usr/lib/.build-id/96/3786734b0bc60acdf3ceee6f5dfc5f91b7bac5 /usr/lib/.build-id/a5 /usr/lib/.build-id/a5/9079f310a7709e27ac139cb57207bd9fad0fd4 /usr/lib/.build-id/ba /usr/lib/.build-id/ba/61081eb58d3e0e501961f8b1be52466916b616 /usr/lib/ocaml/bisect_ppx /usr/lib/ocaml/bisect_ppx/META /usr/lib/ocaml/bisect_ppx/bisect_ppx.cma /usr/lib/ocaml/bisect_ppx/bisect_ppx.cmi /usr/lib/ocaml/bisect_ppx/bisect_ppx.cmxs /usr/lib/ocaml/bisect_ppx/bisect_ppx__Exclude.cmi /usr/lib/ocaml/bisect_ppx/bisect_ppx__Exclude_lexer.cmi /usr/lib/ocaml/bisect_ppx/bisect_ppx__Exclude_parser.cmi /usr/lib/ocaml/bisect_ppx/bisect_ppx__Exclusions.cmi /usr/lib/ocaml/bisect_ppx/bisect_ppx__Instrument.cmi /usr/lib/ocaml/bisect_ppx/bisect_ppx__Register.cmi /usr/lib/ocaml/bisect_ppx/common /usr/lib/ocaml/bisect_ppx/common/bisect_common.cma /usr/lib/ocaml/bisect_ppx/common/bisect_common.cmi /usr/lib/ocaml/bisect_ppx/common/bisect_common.cmxs /usr/lib/ocaml/bisect_ppx/ppx.exe /usr/lib/ocaml/bisect_ppx/runtime /usr/lib/ocaml/bisect_ppx/runtime/bisect.cma /usr/lib/ocaml/bisect_ppx/runtime/bisect.cmi /usr/lib/ocaml/bisect_ppx/runtime/bisect.cmxs /usr/lib/ocaml/bisect_ppx/runtime/bisect__Runtime.cmi /usr/share/doc/ocaml-bisect-ppx /usr/share/doc/ocaml-bisect-ppx/CHANGES /usr/share/doc/ocaml-bisect-ppx/README.md /usr/share/doc/ocaml-bisect-ppx/advanced.md /usr/share/licenses/ocaml-bisect-ppx /usr/share/licenses/ocaml-bisect-ppx/LICENSE.md /usr/share/man/man1/bisect-ppx-report.1.gz
## References
* [ocaml-bisect-ppx website](https://aantron.github.io/bisect_ppx/)
## Summary
In this tutorial we learn how to install `ocaml-bisect-ppx` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).