How To Install ocaml-stdcompat on Fedora 36

In this tutorial we learn how to install ocaml-stdcompat in Fedora 36. ocaml-stdcompat is Compatibility module for the OCaml standard library

Introduction

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

What is ocaml-stdcompat

Stdcompat is a compatibility layer allowing programs to use some recent additions to the OCaml standard library while preserving the ability to be compiled on former versions of OCaml. The Stdcompat API is not intended to be stable, but there will be efforts to allow future versions of Stdcompat to be compiled on a large range of versions of OCaml version of OCaml from 3.08 (inclusive). The module Stdcompat provides some definitions for values and types introduced in recent versions of the standard library. These definitions are just aliases to the matching definition of the standard library if the latter is recent enough. Otherwise, the module Stdcompat provides an alternative implementation.

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

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

sudo dnf -y install ocaml-stdcompat

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

sudo yum -y install ocaml-stdcompat

How To Uninstall ocaml-stdcompat on Fedora 36

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

sudo dnf remove ocaml-stdcompat

ocaml-stdcompat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/4c9ea12e0dd5c2b940b7d70476918fd8298fcc
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/9c162dd023f4d418c51a9a81e63084362ce578
/usr/lib/ocaml/stdcompat
/usr/lib/ocaml/stdcompat/META
/usr/lib/ocaml/stdcompat/stdcompat.cma
/usr/lib/ocaml/stdcompat/stdcompat.cmi
/usr/lib/ocaml/stdcompat/stdcompat.cmxs
/usr/lib/ocaml/stdcompat/stdcompat__arg.cmi
/usr/lib/ocaml/stdcompat/stdcompat__arg_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__array.cmi
/usr/lib/ocaml/stdcompat/stdcompat__arrayLabels.cmi
/usr/lib/ocaml/stdcompat/stdcompat__arrayLabels_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__array_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__atomic.cmi
/usr/lib/ocaml/stdcompat/stdcompat__atomic_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__bool.cmi
/usr/lib/ocaml/stdcompat/stdcompat__bool_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__buffer.cmi
/usr/lib/ocaml/stdcompat/stdcompat__buffer_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__bytes.cmi
/usr/lib/ocaml/stdcompat/stdcompat__bytesLabels.cmi
/usr/lib/ocaml/stdcompat/stdcompat__bytesLabels_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__bytes_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__char.cmi
/usr/lib/ocaml/stdcompat/stdcompat__char_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__digest.cmi
/usr/lib/ocaml/stdcompat/stdcompat__digest_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__either.cmi
/usr/lib/ocaml/stdcompat/stdcompat__either_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__ephemeron.cmi
/usr/lib/ocaml/stdcompat/stdcompat__ephemeron_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__filename.cmi
/usr/lib/ocaml/stdcompat/stdcompat__filename_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__float.cmi
/usr/lib/ocaml/stdcompat/stdcompat__float_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__format.cmi
/usr/lib/ocaml/stdcompat/stdcompat__format_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__fun.cmi
/usr/lib/ocaml/stdcompat/stdcompat__fun_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__hashtbl.cmi
/usr/lib/ocaml/stdcompat/stdcompat__hashtbl_ext.cmi
/usr/lib/ocaml/stdcompat/stdcompat__hashtbl_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__in_channel.cmi
/usr/lib/ocaml/stdcompat/stdcompat__in_channel_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__init.cmi
/usr/lib/ocaml/stdcompat/stdcompat__int.cmi
/usr/lib/ocaml/stdcompat/stdcompat__int32.cmi
/usr/lib/ocaml/stdcompat/stdcompat__int32_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__int64.cmi
/usr/lib/ocaml/stdcompat/stdcompat__int64_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__int_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__lazy.cmi
/usr/lib/ocaml/stdcompat/stdcompat__lazy_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__lexing.cmi
/usr/lib/ocaml/stdcompat/stdcompat__lexing_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__list.cmi
/usr/lib/ocaml/stdcompat/stdcompat__listLabels.cmi
/usr/lib/ocaml/stdcompat/stdcompat__listLabels_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__list_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__map.cmi
/usr/lib/ocaml/stdcompat/stdcompat__map_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__moreLabels.cmi
/usr/lib/ocaml/stdcompat/stdcompat__moreLabels_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__native.cmi
/usr/lib/ocaml/stdcompat/stdcompat__nativeint.cmi
/usr/lib/ocaml/stdcompat/stdcompat__nativeint_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__option.cmi
/usr/lib/ocaml/stdcompat/stdcompat__option_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__out_channel.cmi
/usr/lib/ocaml/stdcompat/stdcompat__out_channel_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__pervasives.cmi
/usr/lib/ocaml/stdcompat/stdcompat__pervasives_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__printexc.cmi
/usr/lib/ocaml/stdcompat/stdcompat__printexc_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__printf.cmi
/usr/lib/ocaml/stdcompat/stdcompat__printf_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__queue.cmi
/usr/lib/ocaml/stdcompat/stdcompat__queue_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__random.cmi
/usr/lib/ocaml/stdcompat/stdcompat__random_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__result.cmi
/usr/lib/ocaml/stdcompat/stdcompat__result_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__root.cmi
/usr/lib/ocaml/stdcompat/stdcompat__seq.cmi
/usr/lib/ocaml/stdcompat/stdcompat__seq_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__set.cmi
/usr/lib/ocaml/stdcompat/stdcompat__set_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stack.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stack_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stdlib.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stdlib_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stream.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stream_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__string.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stringLabels.cmi
/usr/lib/ocaml/stdcompat/stdcompat__stringLabels_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__string_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__sys.cmi
/usr/lib/ocaml/stdcompat/stdcompat__sys_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__tools.cmi
/usr/lib/ocaml/stdcompat/stdcompat__uchar.cmi
/usr/lib/ocaml/stdcompat/stdcompat__uchar_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__unit.cmi
/usr/lib/ocaml/stdcompat/stdcompat__unit_s.cmi
/usr/lib/ocaml/stdcompat/stdcompat__weak.cmi
/usr/lib/ocaml/stdcompat/stdcompat__weak_s.cmi
/usr/lib/ocaml/stublibs/dllstdcompat__stubs.so
/usr/lib/ocaml/stublibs/dllstdcompat__stubs.so.owner
/usr/share/doc/ocaml-stdcompat
/usr/share/doc/ocaml-stdcompat/AUTHORS
/usr/share/doc/ocaml-stdcompat/ChangeLog
/usr/share/doc/ocaml-stdcompat/README
/usr/share/licenses/ocaml-stdcompat
/usr/share/licenses/ocaml-stdcompat/COPYING

References

Summary

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


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

Introduction

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

What is ocaml-stdcompat

Stdcompat is a compatibility layer allowing programs to use some recent additions to the OCaml standard library while preserving the ability to be compiled on former versions of OCaml. The Stdcompat API is not intended to be stable, but there will be efforts to allow future versions of Stdcompat to be compiled on a large range of versions of OCaml version of OCaml from 3.08 (inclusive). The module Stdcompat provides some definitions for values and types introduced in recent versions of the standard library. These definitions are just aliases to the matching definition of the standard library if the latter is recent enough. Otherwise, the module Stdcompat provides an alternative implementation.

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

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

sudo dnf -y install ocaml-stdcompat

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

sudo yum -y install ocaml-stdcompat

How To Uninstall ocaml-stdcompat on Fedora 36

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

sudo dnf remove ocaml-stdcompat

ocaml-stdcompat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/e88e57624fd314b9ca2870c22f88ef9acbcfcc
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/c72aa2e661946d50d14b18dd129da88f6a5727
/usr/lib64/ocaml/stdcompat
/usr/lib64/ocaml/stdcompat/META
/usr/lib64/ocaml/stdcompat/stdcompat.cma
/usr/lib64/ocaml/stdcompat/stdcompat.cmi
/usr/lib64/ocaml/stdcompat/stdcompat.cmxs
/usr/lib64/ocaml/stdcompat/stdcompat__arg.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__arg_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__array.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__arrayLabels.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__arrayLabels_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__array_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__atomic.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__atomic_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__bool.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__bool_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__buffer.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__buffer_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__bytes.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__bytesLabels.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__bytesLabels_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__bytes_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__char.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__char_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__digest.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__digest_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__either.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__either_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__ephemeron.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__ephemeron_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__filename.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__filename_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__float.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__float_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__format.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__format_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__fun.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__fun_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__hashtbl.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__hashtbl_ext.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__hashtbl_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__in_channel.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__in_channel_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__init.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__int.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__int32.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__int32_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__int64.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__int64_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__int_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__lazy.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__lazy_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__lexing.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__lexing_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__list.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__listLabels.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__listLabels_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__list_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__map.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__map_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__moreLabels.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__moreLabels_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__native.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__nativeint.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__nativeint_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__option.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__option_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__out_channel.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__out_channel_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__pervasives.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__pervasives_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__printexc.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__printexc_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__printf.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__printf_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__queue.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__queue_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__random.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__random_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__result.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__result_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__root.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__seq.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__seq_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__set.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__set_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stack.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stack_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stdlib.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stdlib_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stream.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stream_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__string.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stringLabels.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__stringLabels_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__string_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__sys.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__sys_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__tools.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__uchar.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__uchar_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__unit.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__unit_s.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__weak.cmi
/usr/lib64/ocaml/stdcompat/stdcompat__weak_s.cmi
/usr/lib64/ocaml/stublibs/dllstdcompat__stubs.so
/usr/lib64/ocaml/stublibs/dllstdcompat__stubs.so.owner
/usr/share/doc/ocaml-stdcompat
/usr/share/doc/ocaml-stdcompat/AUTHORS
/usr/share/doc/ocaml-stdcompat/ChangeLog
/usr/share/doc/ocaml-stdcompat/README
/usr/share/licenses/ocaml-stdcompat
/usr/share/licenses/ocaml-stdcompat/COPYING

References

Summary

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