How To Install ocaml-biniou on CentOS 7

In this tutorial we learn how to install ocaml-biniou on CentOS 7. ocaml-biniou is Safe and fast binary data format

Introduction

In this tutorial we learn how to install ocaml-biniou on CentOS 7.

What is ocaml-biniou

Biniou (pronounced “be new”) is a binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve. Biniou is vastly equivalent to JSON in terms of functionality but allows implementations several times faster (4 times faster than yojson), with 25-35% space savings. Biniou data can be decoded into human-readable form without knowledge of type definitions except for field and variant names which are represented by 31-bit hashes. A program named bdump is provided for routine visualization of biniou data files.

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

Install ocaml-biniou on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ocaml-biniou using yum by running the following command:

sudo yum -y install ocaml-biniou

Install ocaml-biniou on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ocaml-biniou using dnf by running the following command:

sudo dnf -y install ocaml-biniou

How To Uninstall ocaml-biniou on CentOS 7

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

sudo dnf remove ocaml-biniou

References

Summary

In this tutorial we learn how to install ocaml-biniou on CentOS 7 using yum and dnf.