How To Install ocaml-alcotest on Fedora 36

In this tutorial we learn how to install ocaml-alcotest in Fedora 36. ocaml-alcotest is Lightweight and colorful test framework for OCaml

Introduction

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

What is ocaml-alcotest

Alcotest is a lightweight and colorful test framework. Alcotest exposes a simple interface to perform unit tests, including a simple TESTABLE module type, a check function to assert test predicates, and a run function to perform a list of unit -> unit test callbacks. Alcotest provides quiet and colorful output where only faulty runs are fully displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.

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

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

sudo dnf -y install ocaml-alcotest

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

sudo yum -y install ocaml-alcotest

How To Uninstall ocaml-alcotest on Fedora 36

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

sudo dnf remove ocaml-alcotest

ocaml-alcotest Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/17597127b2228bab672a2103a34efe0786e95b
/usr/lib/.build-id/38
/usr/lib/.build-id/38/2715a27d7491cdeeceb96fcfaaca5482856c38
/usr/lib/.build-id/38/ccac3944a867c18123e617ef2514a5150db516
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/be24a26ef3cf39b837836a41d6d6794dc3941e
/usr/lib64/ocaml/alcotest
/usr/lib64/ocaml/alcotest/META
/usr/lib64/ocaml/alcotest/alcotest.cma
/usr/lib64/ocaml/alcotest/alcotest.cmi
/usr/lib64/ocaml/alcotest/alcotest.cmxs
/usr/lib64/ocaml/alcotest/alcotest__.cmi
/usr/lib64/ocaml/alcotest/alcotest__Terminal.cmi
/usr/lib64/ocaml/alcotest/engine
/usr/lib64/ocaml/alcotest/engine/alcotest_engine.cma
/usr/lib64/ocaml/alcotest/engine/alcotest_engine.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine.cmxs
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Cli.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Cli_intf.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Config.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Config_intf.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Core.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Core_intf.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Import.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Log_trap.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Log_trap_intf.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Model.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Monad.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Monad_intf.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Platform.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Pp.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Pp_intf.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Safe_string.cmi
/usr/lib64/ocaml/alcotest/engine/alcotest_engine__Test.cmi
/usr/lib64/ocaml/alcotest/runtime.js
/usr/lib64/ocaml/alcotest/stdlib_ext
/usr/lib64/ocaml/alcotest/stdlib_ext/alcotest_stdlib_ext.cma
/usr/lib64/ocaml/alcotest/stdlib_ext/alcotest_stdlib_ext.cmi
/usr/lib64/ocaml/alcotest/stdlib_ext/alcotest_stdlib_ext.cmxs
/usr/lib64/ocaml/stublibs/dllalcotest_stubs.so
/usr/share/doc/ocaml-alcotest
/usr/share/doc/ocaml-alcotest/CHANGES.md
/usr/share/doc/ocaml-alcotest/README.md
/usr/share/doc/ocaml-alcotest/alcotest-help.txt
/usr/share/licenses/ocaml-alcotest
/usr/share/licenses/ocaml-alcotest/LICENSE.md

References

Summary

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


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

Introduction

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

What is ocaml-alcotest

Alcotest is a lightweight and colorful test framework. Alcotest exposes a simple interface to perform unit tests, including a simple TESTABLE module type, a check function to assert test predicates, and a run function to perform a list of unit -> unit test callbacks. Alcotest provides quiet and colorful output where only faulty runs are fully displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.

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

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

sudo dnf -y install ocaml-alcotest

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

sudo yum -y install ocaml-alcotest

How To Uninstall ocaml-alcotest on Fedora 36

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

sudo dnf remove ocaml-alcotest

ocaml-alcotest Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/9c229a992e8a8e8e387c126598cdaa9a7053f3
/usr/lib/.build-id/67
/usr/lib/.build-id/67/5e7981f86cae6c12411320949908c83abe0e45
/usr/lib/.build-id/de
/usr/lib/.build-id/de/da48f522b922ca036dd4ef4ea3aa3937be35a7
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/5efcf4a990ff4ea8c2ed560f320e4a64874723
/usr/lib/ocaml/alcotest
/usr/lib/ocaml/alcotest/META
/usr/lib/ocaml/alcotest/alcotest.cma
/usr/lib/ocaml/alcotest/alcotest.cmi
/usr/lib/ocaml/alcotest/alcotest.cmxs
/usr/lib/ocaml/alcotest/alcotest__.cmi
/usr/lib/ocaml/alcotest/alcotest__Terminal.cmi
/usr/lib/ocaml/alcotest/engine
/usr/lib/ocaml/alcotest/engine/alcotest_engine.cma
/usr/lib/ocaml/alcotest/engine/alcotest_engine.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine.cmxs
/usr/lib/ocaml/alcotest/engine/alcotest_engine__.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Cli.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Cli_intf.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Config.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Config_intf.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Core.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Core_intf.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Import.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Log_trap.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Log_trap_intf.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Model.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Monad.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Monad_intf.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Platform.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Pp.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Pp_intf.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Safe_string.cmi
/usr/lib/ocaml/alcotest/engine/alcotest_engine__Test.cmi
/usr/lib/ocaml/alcotest/runtime.js
/usr/lib/ocaml/alcotest/stdlib_ext
/usr/lib/ocaml/alcotest/stdlib_ext/alcotest_stdlib_ext.cma
/usr/lib/ocaml/alcotest/stdlib_ext/alcotest_stdlib_ext.cmi
/usr/lib/ocaml/alcotest/stdlib_ext/alcotest_stdlib_ext.cmxs
/usr/lib/ocaml/stublibs/dllalcotest_stubs.so
/usr/share/doc/ocaml-alcotest
/usr/share/doc/ocaml-alcotest/CHANGES.md
/usr/share/doc/ocaml-alcotest/README.md
/usr/share/doc/ocaml-alcotest/alcotest-help.txt
/usr/share/licenses/ocaml-alcotest
/usr/share/licenses/ocaml-alcotest/LICENSE.md

References

Summary

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