How To Install ocaml-sha on Fedora 36

In this tutorial we learn how to install ocaml-sha in Fedora 36. ocaml-sha is Binding to the SHA cryptographic functions

Introduction

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

What is ocaml-sha

A binding for SHA interface code in OCaml. Offering the same interface than the MD5 digest included in the OCaml standard library. It’s currently providing SHA1, SHA256 and SHA512 hash functions.

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

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

sudo dnf -y install ocaml-sha

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

sudo yum -y install ocaml-sha

How To Uninstall ocaml-sha on Fedora 36

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

sudo dnf remove ocaml-sha

ocaml-sha Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/067d31a4f673b6720999593a272a093f9bb4b8
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/ffe2024f118d14461ecd96ee3d4008e74ccc24
/usr/lib64/ocaml/sha
/usr/lib64/ocaml/sha/META
/usr/lib64/ocaml/sha/dune-package
/usr/lib64/ocaml/sha/opam
/usr/lib64/ocaml/sha/sha.cma
/usr/lib64/ocaml/sha/sha.cmxs
/usr/lib64/ocaml/sha/sha1.cmi
/usr/lib64/ocaml/sha/sha1.cmt
/usr/lib64/ocaml/sha/sha1.cmti
/usr/lib64/ocaml/sha/sha1.ml
/usr/lib64/ocaml/sha/sha256.cmi
/usr/lib64/ocaml/sha/sha256.cmt
/usr/lib64/ocaml/sha/sha256.cmti
/usr/lib64/ocaml/sha/sha256.ml
/usr/lib64/ocaml/sha/sha512.cmi
/usr/lib64/ocaml/sha/sha512.cmt
/usr/lib64/ocaml/sha/sha512.cmti
/usr/lib64/ocaml/sha/sha512.ml
/usr/lib64/ocaml/stublibs
/usr/lib64/ocaml/stublibs/dllsha_stubs.so
/usr/share/doc/ocaml-sha
/usr/share/doc/ocaml-sha/CHANGES.md
/usr/share/doc/ocaml-sha/README.md
/usr/share/licenses/ocaml-sha
/usr/share/licenses/ocaml-sha/LICENSE.md

References

Summary

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


title: “How To Install ocaml-sha on Fedora 36” linkTitle: “ocaml-sha” type: “docs” description: “In this tutorial we learn how to install ocaml-sha in Fedora 36. ocaml-sha is Binding to the SHA cryptographic functions” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-sha-featured.png

Introduction

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

What is ocaml-sha

A binding for SHA interface code in OCaml. Offering the same interface than the MD5 digest included in the OCaml standard library. It’s currently providing SHA1, SHA256 and SHA512 hash functions.

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

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

sudo dnf -y install ocaml-sha

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

sudo yum -y install ocaml-sha

How To Uninstall ocaml-sha on Fedora 36

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

sudo dnf remove ocaml-sha

ocaml-sha Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/426b59f607d58dd1f1335c22fca09b58fdb19a
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/1137bcdb0494de7ce1fb8f7df64d26948b26ae
/usr/lib/ocaml/sha
/usr/lib/ocaml/sha/META
/usr/lib/ocaml/sha/dune-package
/usr/lib/ocaml/sha/opam
/usr/lib/ocaml/sha/sha.cma
/usr/lib/ocaml/sha/sha.cmxs
/usr/lib/ocaml/sha/sha1.cmi
/usr/lib/ocaml/sha/sha1.cmt
/usr/lib/ocaml/sha/sha1.cmti
/usr/lib/ocaml/sha/sha1.ml
/usr/lib/ocaml/sha/sha256.cmi
/usr/lib/ocaml/sha/sha256.cmt
/usr/lib/ocaml/sha/sha256.cmti
/usr/lib/ocaml/sha/sha256.ml
/usr/lib/ocaml/sha/sha512.cmi
/usr/lib/ocaml/sha/sha512.cmt
/usr/lib/ocaml/sha/sha512.cmti
/usr/lib/ocaml/sha/sha512.ml
/usr/lib/ocaml/stublibs
/usr/lib/ocaml/stublibs/dllsha_stubs.so
/usr/share/doc/ocaml-sha
/usr/share/doc/ocaml-sha/CHANGES.md
/usr/share/doc/ocaml-sha/README.md
/usr/share/licenses/ocaml-sha
/usr/share/licenses/ocaml-sha/LICENSE.md

References

Summary

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