How To Install ocaml-fpath on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-fpath
on Fedora 36.
What is ocaml-fpath
Fpath is an OCaml module for handling file system paths with POSIX or Windows conventions. Fpath processes paths without accessing the file system and is independent from any system library.
We can use yum
or dnf
to install ocaml-fpath
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-fpath.
Install ocaml-fpath 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-fpath
using dnf
by running the following command:
sudo dnf -y install ocaml-fpath
Install ocaml-fpath 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-fpath
using yum
by running the following command:
sudo yum -y install ocaml-fpath
How To Uninstall ocaml-fpath on Fedora 36
To uninstall only the ocaml-fpath
package we can use the following command:
sudo dnf remove ocaml-fpath
ocaml-fpath Package Contents on Fedora 36
---
title: "How To Install ocaml-fpath on Fedora 36"
linkTitle: "ocaml-fpath"
type: "docs"
description: "In this tutorial we learn how to install ocaml-fpath in Fedora 36. ocaml-fpath is File paths for OCaml"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-fpath-featured.png
---
## Introduction
In this tutorial we learn how to install `ocaml-fpath` on Fedora 36.
### What is `ocaml-fpath`
> Fpath is an OCaml module for handling file system paths with POSIX or Windows conventions. Fpath processes paths without accessing the file system and is independent from any system library.
We can use `yum` or `dnf` to install `ocaml-fpath` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-fpath.
## Install ocaml-fpath on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install ocaml-fpath
using dnf
by running the following command:
sudo dnf -y install ocaml-fpath
Install ocaml-fpath 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-fpath
using yum
by running the following command:
sudo yum -y install ocaml-fpath
How To Uninstall ocaml-fpath on Fedora 36
To uninstall only the ocaml-fpath
package we can use the following command:
sudo dnf remove ocaml-fpath
ocaml-fpath Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/b4301052cef97784d5ce05ef0296e472fe2300
/usr/lib/.build-id/70
/usr/lib/.build-id/70/79cf5c70ccc43de6c9c806eb9ba2b25a278c56
/usr/lib/ocaml/fpath
/usr/lib/ocaml/fpath/META
/usr/lib/ocaml/fpath/fpath.cma
/usr/lib/ocaml/fpath/fpath.cmi
/usr/lib/ocaml/fpath/fpath.cmxs
/usr/lib/ocaml/fpath/fpath_top.cma
/usr/lib/ocaml/fpath/fpath_top.cmi
/usr/lib/ocaml/fpath/fpath_top.cmxs
/usr/share/doc/ocaml-fpath
/usr/share/doc/ocaml-fpath/CHANGES.md
/usr/share/doc/ocaml-fpath/README.md
/usr/share/licenses/ocaml-fpath
/usr/share/licenses/ocaml-fpath/LICENSE.md
References
Summary
In this tutorial we learn how to install ocaml-fpath
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/50 /usr/lib/.build-id/50/1eecb3cea2d97db7d37d8813973fcec06ed6c7 /usr/lib/.build-id/d9 /usr/lib/.build-id/d9/6c2ca94537191828c7b3647573e6159a5d4951 /usr/lib64/ocaml/fpath /usr/lib64/ocaml/fpath/META /usr/lib64/ocaml/fpath/fpath.cma /usr/lib64/ocaml/fpath/fpath.cmi /usr/lib64/ocaml/fpath/fpath.cmxs /usr/lib64/ocaml/fpath/fpath_top.cma /usr/lib64/ocaml/fpath/fpath_top.cmi /usr/lib64/ocaml/fpath/fpath_top.cmxs /usr/share/doc/ocaml-fpath /usr/share/doc/ocaml-fpath/CHANGES.md /usr/share/doc/ocaml-fpath/README.md /usr/share/licenses/ocaml-fpath /usr/share/licenses/ocaml-fpath/LICENSE.md
## References
* [ocaml-fpath website](https://erratique.ch/software/fpath)
## Summary
In this tutorial we learn how to install `ocaml-fpath` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).