How To Install ocaml-qtest on Rocky Linux 8
Introduction
In this tutorial we learn how to install ocaml-qtest
on Rocky Linux 8.
What is ocaml-qtest
qtest extracts inline unit tests written using a special syntax in comments. Those tests are then run using the oUnit framework and the qcheck library. The possibilities range from trivial tests – extremely simple to use – to sophisticated random generation of test cases.
We can use yum
or dnf
to install ocaml-qtest
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-qtest.
Install ocaml-qtest on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ocaml-qtest
using dnf
by running the following command:
sudo dnf -y install ocaml-qtest
Install ocaml-qtest on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ocaml-qtest
using yum
by running the following command:
sudo yum -y install ocaml-qtest
How To Uninstall ocaml-qtest on Rocky Linux 8
To uninstall only the ocaml-qtest
package we can use the following command:
sudo dnf remove ocaml-qtest
ocaml-qtest Package Contents on Rocky Linux 8
/usr/bin/qtest
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/65109fd187a02c726c44f137bbb3473379e20e
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/3f466f02685ca50e326ac358838732333c7006
/usr/lib64/ocaml/qtest
/usr/lib64/ocaml/qtest/META
/usr/lib64/ocaml/qtest/dune-package
/usr/lib64/ocaml/qtest/lib
/usr/lib64/ocaml/qtest/lib/qtestlib.cma
/usr/lib64/ocaml/qtest/lib/qtestlib.cmi
/usr/lib64/ocaml/qtest/lib/qtestlib.cmt
/usr/lib64/ocaml/qtest/lib/qtestlib.cmxs
/usr/lib64/ocaml/qtest/lib/qtestlib.ml
/usr/lib64/ocaml/qtest/opam
/usr/share/doc/ocaml-qtest
/usr/share/doc/ocaml-qtest/HOWTO.adoc
/usr/share/doc/ocaml-qtest/README.adoc
/usr/share/licenses/ocaml-qtest
/usr/share/licenses/ocaml-qtest/LICENSE
/usr/share/man/man1/qtest.1.gz
References
Summary
In this tutorial we learn how to install ocaml-qtest
on Rocky Linux 8 using yum and dnf.