How To Install ocaml-csv on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-csv
on Fedora 36.
What is ocaml-csv
This OCaml library can read and write CSV files, including all extensions used by Excel - eg. quotes, newlines, 8 bit characters in fields, quote-0 etc. The library comes with a handy command line tool called csvtool for handling CSV files from shell scripts.
We can use yum
or dnf
to install ocaml-csv
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-csv.
Install ocaml-csv 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-csv
using dnf
by running the following command:
sudo dnf -y install ocaml-csv
Install ocaml-csv 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-csv
using yum
by running the following command:
sudo yum -y install ocaml-csv
How To Uninstall ocaml-csv on Fedora 36
To uninstall only the ocaml-csv
package we can use the following command:
sudo dnf remove ocaml-csv
ocaml-csv Package Contents on Fedora 36
/usr/bin/csvtool
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/d27e2d0a9eb96e5caa4dd3a3afa59ec13f9c51
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/28a87298c2cb4a3991defded241fc3eeb4a768
/usr/lib64/ocaml/csv
/usr/lib64/ocaml/csv/META
/usr/lib64/ocaml/csv/csv.cma
/usr/lib64/ocaml/csv/csv.cmi
/usr/lib64/ocaml/csv/csv.cmt
/usr/lib64/ocaml/csv/csv.cmti
/usr/lib64/ocaml/csv/csv.cmxs
/usr/lib64/ocaml/csv/csv__.cmi
/usr/lib64/ocaml/csv/csv__.cmt
/usr/lib64/ocaml/csv/csv__Csv_row.cmi
/usr/lib64/ocaml/csv/csv__Csv_row.cmt
/usr/lib64/ocaml/csv/csv__Csv_utils.cmi
/usr/lib64/ocaml/csv/csv__Csv_utils.cmt
/usr/lib64/ocaml/csv/dune-package
/usr/lib64/ocaml/csv/opam
/usr/share/licenses/ocaml-csv
/usr/share/licenses/ocaml-csv/LICENSE.md
References
Summary
In this tutorial we learn how to install ocaml-csv
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).