How To Install ocaml-bos on Fedora 36

In this tutorial we learn how to install ocaml-bos in Fedora 36. ocaml-bos is Basic OS interaction for OCaml

Introduction

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

What is ocaml-bos

Bos provides support for basic and robust interaction with the operating system in OCaml. It has functions to access the process environment, parse command line arguments, interact with the file system and run command line programs. Bos works equally well on POSIX and Windows operating systems.

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

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

sudo dnf -y install ocaml-bos

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

sudo yum -y install ocaml-bos

How To Uninstall ocaml-bos on Fedora 36

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

sudo dnf remove ocaml-bos

ocaml-bos Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/269dd28699f3cc77f5742ceaeb30ec403022a4
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/e093fc49d4d9b522d3b61cfb34560ecf4517b2
/usr/lib/.build-id/84
/usr/lib/.build-id/84/f338431c08e44168f6deffe9820cedcd8114fd
/usr/lib/ocaml/bos
/usr/lib/ocaml/bos/META
/usr/lib/ocaml/bos/bos.cma
/usr/lib/ocaml/bos/bos.cmi
/usr/lib/ocaml/bos/bos.cmxs
/usr/lib/ocaml/bos/bos_base.cmi
/usr/lib/ocaml/bos/bos_cmd.cmi
/usr/lib/ocaml/bos/bos_log.cmi
/usr/lib/ocaml/bos/bos_os_arg.cmi
/usr/lib/ocaml/bos/bos_os_cmd.cmi
/usr/lib/ocaml/bos/bos_os_dir.cmi
/usr/lib/ocaml/bos/bos_os_env.cmi
/usr/lib/ocaml/bos/bos_os_file.cmi
/usr/lib/ocaml/bos/bos_os_path.cmi
/usr/lib/ocaml/bos/bos_os_tmp.cmi
/usr/lib/ocaml/bos/bos_os_u.cmi
/usr/lib/ocaml/bos/bos_pat.cmi
/usr/lib/ocaml/bos/bos_setup.cma
/usr/lib/ocaml/bos/bos_setup.cmi
/usr/lib/ocaml/bos/bos_setup.cmxs
/usr/lib/ocaml/bos/bos_top.cma
/usr/lib/ocaml/bos/bos_top.cmi
/usr/lib/ocaml/bos/bos_top.cmxs
/usr/share/doc/ocaml-bos
/usr/share/doc/ocaml-bos/CHANGES.md
/usr/share/doc/ocaml-bos/README.md
/usr/share/licenses/ocaml-bos
/usr/share/licenses/ocaml-bos/LICENSE.md

References

Summary

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


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

Introduction

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

What is ocaml-bos

Bos provides support for basic and robust interaction with the operating system in OCaml. It has functions to access the process environment, parse command line arguments, interact with the file system and run command line programs. Bos works equally well on POSIX and Windows operating systems.

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

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

sudo dnf -y install ocaml-bos

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

sudo yum -y install ocaml-bos

How To Uninstall ocaml-bos on Fedora 36

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

sudo dnf remove ocaml-bos

ocaml-bos Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/c96fe6ef74430968910699a76bab57b26fb6fa
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/75efd939a98fede3fbeb04adccfede843e4856
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/083bf89fc877eb28c1be604547f4e21df589b8
/usr/lib64/ocaml/bos
/usr/lib64/ocaml/bos/META
/usr/lib64/ocaml/bos/bos.cma
/usr/lib64/ocaml/bos/bos.cmi
/usr/lib64/ocaml/bos/bos.cmxs
/usr/lib64/ocaml/bos/bos_base.cmi
/usr/lib64/ocaml/bos/bos_cmd.cmi
/usr/lib64/ocaml/bos/bos_log.cmi
/usr/lib64/ocaml/bos/bos_os_arg.cmi
/usr/lib64/ocaml/bos/bos_os_cmd.cmi
/usr/lib64/ocaml/bos/bos_os_dir.cmi
/usr/lib64/ocaml/bos/bos_os_env.cmi
/usr/lib64/ocaml/bos/bos_os_file.cmi
/usr/lib64/ocaml/bos/bos_os_path.cmi
/usr/lib64/ocaml/bos/bos_os_tmp.cmi
/usr/lib64/ocaml/bos/bos_os_u.cmi
/usr/lib64/ocaml/bos/bos_pat.cmi
/usr/lib64/ocaml/bos/bos_setup.cma
/usr/lib64/ocaml/bos/bos_setup.cmi
/usr/lib64/ocaml/bos/bos_setup.cmxs
/usr/lib64/ocaml/bos/bos_top.cma
/usr/lib64/ocaml/bos/bos_top.cmi
/usr/lib64/ocaml/bos/bos_top.cmxs
/usr/share/doc/ocaml-bos
/usr/share/doc/ocaml-bos/CHANGES.md
/usr/share/doc/ocaml-bos/README.md
/usr/share/licenses/ocaml-bos
/usr/share/licenses/ocaml-bos/LICENSE.md

References

Summary

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