How To Install ocaml-stdint on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-stdint
on Fedora 36.
What is ocaml-stdint
The stdint library provides signed and unsigned integer types of various fixed widths This interface is similar to Int32 and Int64 from the base library but provides more functions and constants like arithmetic and bit-wise operations, constants like maximum and minimum values, infix operators converting to and from every other integer type (including int, float and nativeint), parsing from and conversion to readable strings (binary, octal, decimal, hexadecimal), and conversion to and from buffers in both big endian and little endian byte order.
We can use yum
or dnf
to install ocaml-stdint
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-stdint.
Install ocaml-stdint 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-stdint
using dnf
by running the following command:
sudo dnf -y install ocaml-stdint
Install ocaml-stdint 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-stdint
using yum
by running the following command:
sudo yum -y install ocaml-stdint
How To Uninstall ocaml-stdint on Fedora 36
To uninstall only the ocaml-stdint
package we can use the following command:
sudo dnf remove ocaml-stdint
ocaml-stdint Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/a327dbb65783f43a65c4d19dc3a84a32afbd4e
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/915ddee437cdecd3ee9421090df7ea9dd4c5b0
/usr/lib/ocaml/stdint
/usr/lib/ocaml/stdint/META
/usr/lib/ocaml/stdint/stdint.cma
/usr/lib/ocaml/stdint/stdint.cmi
/usr/lib/ocaml/stdint/stdint.cmxs
/usr/lib/ocaml/stdint/stdint__.cmi
/usr/lib/ocaml/stdint/stdint__Bytes_conv.cmi
/usr/lib/ocaml/stdint/stdint__Infix.cmi
/usr/lib/ocaml/stdint/stdint__Int_wrapper.cmi
/usr/lib/ocaml/stdint/stdint__Stdint_stdlib_.cmi
/usr/lib/ocaml/stdint/stdint__Str_conv.cmi
/usr/lib/ocaml/stublibs/dllstdint_stubs.so
/usr/share/doc/ocaml-stdint
/usr/share/doc/ocaml-stdint/CHANGES.md
/usr/share/doc/ocaml-stdint/README.md
/usr/share/licenses/ocaml-stdint
/usr/share/licenses/ocaml-stdint/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-stdint
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install ocaml-stdint on Fedora 36” linkTitle: “ocaml-stdint” type: “docs” description: “In this tutorial we learn how to install ocaml-stdint in Fedora 36. ocaml-stdint is Various signed and unsigned integers for OCaml” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-stdint-featured.png
Introduction
In this tutorial we learn how to install ocaml-stdint
on Fedora 36.
What is ocaml-stdint
The stdint library provides signed and unsigned integer types of various fixed widths This interface is similar to Int32 and Int64 from the base library but provides more functions and constants like arithmetic and bit-wise operations, constants like maximum and minimum values, infix operators converting to and from every other integer type (including int, float and nativeint), parsing from and conversion to readable strings (binary, octal, decimal, hexadecimal), and conversion to and from buffers in both big endian and little endian byte order.
We can use yum
or dnf
to install ocaml-stdint
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-stdint.
Install ocaml-stdint 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-stdint
using dnf
by running the following command:
sudo dnf -y install ocaml-stdint
Install ocaml-stdint 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-stdint
using yum
by running the following command:
sudo yum -y install ocaml-stdint
How To Uninstall ocaml-stdint on Fedora 36
To uninstall only the ocaml-stdint
package we can use the following command:
sudo dnf remove ocaml-stdint
ocaml-stdint Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/b1af4f2f4d00495a5872c80b082d4a5f8fa7eb
/usr/lib/.build-id/99
/usr/lib/.build-id/99/0316fb889aaaa22a50e45af2452684f5adc20e
/usr/lib64/ocaml/stdint
/usr/lib64/ocaml/stdint/META
/usr/lib64/ocaml/stdint/stdint.cma
/usr/lib64/ocaml/stdint/stdint.cmi
/usr/lib64/ocaml/stdint/stdint.cmxs
/usr/lib64/ocaml/stdint/stdint__.cmi
/usr/lib64/ocaml/stdint/stdint__Bytes_conv.cmi
/usr/lib64/ocaml/stdint/stdint__Infix.cmi
/usr/lib64/ocaml/stdint/stdint__Int_wrapper.cmi
/usr/lib64/ocaml/stdint/stdint__Stdint_stdlib_.cmi
/usr/lib64/ocaml/stdint/stdint__Str_conv.cmi
/usr/lib64/ocaml/stublibs/dllstdint_stubs.so
/usr/share/doc/ocaml-stdint
/usr/share/doc/ocaml-stdint/CHANGES.md
/usr/share/doc/ocaml-stdint/README.md
/usr/share/licenses/ocaml-stdint
/usr/share/licenses/ocaml-stdint/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-stdint
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).