How To Install ocaml-xmlm on CentOS 7

In this tutorial we learn how to install ocaml-xmlm on CentOS 7. ocaml-xmlm is A streaming XML codec

Introduction

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

What is ocaml-xmlm

Xmlm is an OCaml streaming codec to decode and encode the XML data format. It can process XML documents without a complete in-memory representation of the data.

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

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

sudo yum -y install ocaml-xmlm

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

sudo dnf -y install ocaml-xmlm

How To Uninstall ocaml-xmlm on CentOS 7

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

sudo dnf remove ocaml-xmlm

References

Summary

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