How To Install ocaml-fileutils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ocaml-fileutils.x86_64 in Amazon Linux 2. ocaml-fileutils.x86_64 is OCaml library for common file and filename operations

Introduction

In this tutorial we learn how to install ocaml-fileutils.x86_64 on Amazon Linux 2.

What is ocaml-fileutils.x86_64

This library is intended to provide a basic interface to the most common file and filename operations. It provides several different filename functions make_relative… It also enables you to manipulate real files cp, mv, rm, touch… It is separated into two modules one manipulates real files, the second one is made for manipulating abstract filenames.

We can use yum to install ocaml-fileutils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-fileutils.x86_64.

Install ocaml-fileutils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ocaml-fileutils.x86_64

How To Uninstall ocaml-fileutils.x86_64 on Amazon Linux 2

To uninstall only the ocaml-fileutils.x86_64 package we can use the following command:

sudo yum remove ocaml-fileutils.x86_64

ocaml-fileutils.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ocaml/fileutils
/usr/lib64/ocaml/fileutils/FilePath.cmi
/usr/lib64/ocaml/fileutils/FileUtil.cmi
/usr/lib64/ocaml/fileutils/FileUtilStr.cmi
/usr/lib64/ocaml/fileutils/META
/usr/lib64/ocaml/fileutils/fileutils-str.cma
/usr/lib64/ocaml/fileutils/fileutils-str.cmxs
/usr/lib64/ocaml/fileutils/fileutils.cma
/usr/lib64/ocaml/fileutils/fileutils.cmxs
/usr/share/doc/ocaml-fileutils-0.4.4
/usr/share/doc/ocaml-fileutils-0.4.4/COPYING.txt

References

Summary

In this tutorial we learn how to install ocaml-fileutils.x86_64 on Amazon Linux 2 using yum.