How To Install ocaml-astring on Fedora 36

In this tutorial we learn how to install ocaml-astring in Fedora 36. ocaml-astring is Alternative String module for OCaml

Introduction

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

What is ocaml-astring

Astring exposes an alternative String module for OCaml. This module tries to balance minimality and expressiveness for basic, index-free, string processing and provides types and functions for substrings, string sets and string maps. Remaining compatible with the OCaml String module is a non-goal. The String module exposed by Astring has exception safe functions, removes deprecated and rarely used functions, alters some signatures and names, adds a few missing functions and fully exploits OCaml’s newfound string immutability.

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

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

sudo dnf -y install ocaml-astring

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

sudo yum -y install ocaml-astring

How To Uninstall ocaml-astring on Fedora 36

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

sudo dnf remove ocaml-astring

ocaml-astring Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/7a65f19bf6fc3b20688c05bfe521d7753a8fca
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/02897ea992564f3aa588aaaad9d485c3af3a22
/usr/lib64/ocaml/astring
/usr/lib64/ocaml/astring/META
/usr/lib64/ocaml/astring/astring.cma
/usr/lib64/ocaml/astring/astring.cmi
/usr/lib64/ocaml/astring/astring.cmxs
/usr/lib64/ocaml/astring/astring_base.cmi
/usr/lib64/ocaml/astring/astring_char.cmi
/usr/lib64/ocaml/astring/astring_escape.cmi
/usr/lib64/ocaml/astring/astring_string.cmi
/usr/lib64/ocaml/astring/astring_sub.cmi
/usr/lib64/ocaml/astring/astring_top.cma
/usr/lib64/ocaml/astring/astring_top.cmi
/usr/lib64/ocaml/astring/astring_top.cmxs
/usr/lib64/ocaml/astring/astring_unsafe.cmi
/usr/share/doc/ocaml-astring
/usr/share/doc/ocaml-astring/CHANGES.md
/usr/share/doc/ocaml-astring/README.md
/usr/share/licenses/ocaml-astring
/usr/share/licenses/ocaml-astring/LICENSE.md

References

Summary

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


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

Introduction

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

What is ocaml-astring

Astring exposes an alternative String module for OCaml. This module tries to balance minimality and expressiveness for basic, index-free, string processing and provides types and functions for substrings, string sets and string maps. Remaining compatible with the OCaml String module is a non-goal. The String module exposed by Astring has exception safe functions, removes deprecated and rarely used functions, alters some signatures and names, adds a few missing functions and fully exploits OCaml’s newfound string immutability.

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

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

sudo dnf -y install ocaml-astring

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

sudo yum -y install ocaml-astring

How To Uninstall ocaml-astring on Fedora 36

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

sudo dnf remove ocaml-astring

ocaml-astring Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/af619e59d2cc9993774ecffd7fba34842dda38
/usr/lib/.build-id/37
/usr/lib/.build-id/37/7830e3e8056d486f5efa44fba7201fbde0398a
/usr/lib/ocaml/astring
/usr/lib/ocaml/astring/META
/usr/lib/ocaml/astring/astring.cma
/usr/lib/ocaml/astring/astring.cmi
/usr/lib/ocaml/astring/astring.cmxs
/usr/lib/ocaml/astring/astring_base.cmi
/usr/lib/ocaml/astring/astring_char.cmi
/usr/lib/ocaml/astring/astring_escape.cmi
/usr/lib/ocaml/astring/astring_string.cmi
/usr/lib/ocaml/astring/astring_sub.cmi
/usr/lib/ocaml/astring/astring_top.cma
/usr/lib/ocaml/astring/astring_top.cmi
/usr/lib/ocaml/astring/astring_top.cmxs
/usr/lib/ocaml/astring/astring_unsafe.cmi
/usr/share/doc/ocaml-astring
/usr/share/doc/ocaml-astring/CHANGES.md
/usr/share/doc/ocaml-astring/README.md
/usr/share/licenses/ocaml-astring
/usr/share/licenses/ocaml-astring/LICENSE.md

References

Summary

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