How To Install ocaml-pyml on Fedora 36

In this tutorial we learn how to install ocaml-pyml in Fedora 36. ocaml-pyml is OCaml bindings for Python

Introduction

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

What is ocaml-pyml

py.ml provides OCaml bindings for Python 2 and Python 3. This library subsumes the pycaml library, which is no longer actively maintained. The Python library is linked at runtime and the same executable can be run in a Python 2 or a Python 3 environment. py.ml does not require any Python library at compile time. The only compile time dependency is Stdcompat to ensure compatibility with all OCaml compiler versions from 3.12. Bindings are split in three modules - Py provides the initialization functions and some high-level bindings, with error handling and naming conventions closer to OCaml usages. - Pycaml provides a signature close to the old Pycaml module, so as to ease migration. - Pywrappers provides low-level bindings, which follow closely the conventions of the C bindings for Python. Submodules Pywrappers.Python2 and Pywrappers.Python3 contain version-specific bindings.

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

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

sudo dnf -y install ocaml-pyml

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

sudo yum -y install ocaml-pyml

How To Uninstall ocaml-pyml on Fedora 36

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

sudo dnf remove ocaml-pyml

ocaml-pyml Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/bd1e01c338a6a01a3e56e94ca8f549996e9c65
/usr/lib/.build-id/71
/usr/lib/.build-id/71/b92385165caae3671ed753c180ff99650d606d
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/ec0a541b808da9d109c63b5272c7c38cb72841
/usr/lib64/ocaml/pyml
/usr/lib64/ocaml/pyml/META
/usr/lib64/ocaml/pyml/numpy.cmi
/usr/lib64/ocaml/pyml/py.cmi
/usr/lib64/ocaml/pyml/pycaml.cmi
/usr/lib64/ocaml/pyml/pyml.cma
/usr/lib64/ocaml/pyml/pyml.cmxs
/usr/lib64/ocaml/pyml/pyml_arch.cmi
/usr/lib64/ocaml/pyml/pyops.cmi
/usr/lib64/ocaml/pyml/pytypes.cmi
/usr/lib64/ocaml/pyml/pyutils.cmi
/usr/lib64/ocaml/pyml/pywrappers.cmi
/usr/lib64/ocaml/stublibs/dllnumpy_stubs.so
/usr/lib64/ocaml/stublibs/dllpyml_stubs.so
/usr/share/doc/ocaml-pyml
/usr/share/doc/ocaml-pyml/CHANGES.md
/usr/share/doc/ocaml-pyml/README.md
/usr/share/licenses/ocaml-pyml
/usr/share/licenses/ocaml-pyml/LICENSE

References

Summary

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


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

Introduction

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

What is ocaml-pyml

py.ml provides OCaml bindings for Python 2 and Python 3. This library subsumes the pycaml library, which is no longer actively maintained. The Python library is linked at runtime and the same executable can be run in a Python 2 or a Python 3 environment. py.ml does not require any Python library at compile time. The only compile time dependency is Stdcompat to ensure compatibility with all OCaml compiler versions from 3.12. Bindings are split in three modules - Py provides the initialization functions and some high-level bindings, with error handling and naming conventions closer to OCaml usages. - Pycaml provides a signature close to the old Pycaml module, so as to ease migration. - Pywrappers provides low-level bindings, which follow closely the conventions of the C bindings for Python. Submodules Pywrappers.Python2 and Pywrappers.Python3 contain version-specific bindings.

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

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

sudo dnf -y install ocaml-pyml

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

sudo yum -y install ocaml-pyml

How To Uninstall ocaml-pyml on Fedora 36

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

sudo dnf remove ocaml-pyml

ocaml-pyml Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/faed507540a34c43c20c5af019b224cdb2b042
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/fb49349dd9d1a379bd90151d522b5314de76c0
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/94109f8ecf3ef0abc5969b0b15b3574c391a4c
/usr/lib/ocaml/pyml
/usr/lib/ocaml/pyml/META
/usr/lib/ocaml/pyml/numpy.cmi
/usr/lib/ocaml/pyml/py.cmi
/usr/lib/ocaml/pyml/pycaml.cmi
/usr/lib/ocaml/pyml/pyml.cma
/usr/lib/ocaml/pyml/pyml.cmxs
/usr/lib/ocaml/pyml/pyml_arch.cmi
/usr/lib/ocaml/pyml/pyops.cmi
/usr/lib/ocaml/pyml/pytypes.cmi
/usr/lib/ocaml/pyml/pyutils.cmi
/usr/lib/ocaml/pyml/pywrappers.cmi
/usr/lib/ocaml/stublibs/dllnumpy_stubs.so
/usr/lib/ocaml/stublibs/dllpyml_stubs.so
/usr/share/doc/ocaml-pyml
/usr/share/doc/ocaml-pyml/CHANGES.md
/usr/share/doc/ocaml-pyml/README.md
/usr/share/licenses/ocaml-pyml
/usr/share/licenses/ocaml-pyml/LICENSE

References

Summary

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