How To Install ocaml-ocamlgraph on Fedora 36

In this tutorial we learn how to install ocaml-ocamlgraph in Fedora 36. ocaml-ocamlgraph is OCaml library for arc and node graphs

Introduction

In this tutorial we learn how to install ocaml-ocamlgraph on Fedora 36.

What is ocaml-ocamlgraph

Ocamlgraph provides several different implementations of graph data structures. It also provides implementations for a number of classical graph algorithms like Kruskal’s algorithm for MSTs, topological ordering of DAGs, Dijkstra’s shortest paths algorithm, and Ford-Fulkerson’s maximal-flow algorithm to name a few. The algorithms and data structures are written functorially for maximal reusability. Also has input and output capability for Graph Modeling Language file format and Dot and Neato graphviz (graph visualization) tools.

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

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

sudo dnf -y install ocaml-ocamlgraph

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

sudo yum -y install ocaml-ocamlgraph

How To Uninstall ocaml-ocamlgraph on Fedora 36

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

sudo dnf remove ocaml-ocamlgraph

ocaml-ocamlgraph Package Contents on Fedora 36

---
title: "How To Install ocaml-ocamlgraph on Fedora 36"
linkTitle: "ocaml-ocamlgraph"
type: "docs"
description: "In this tutorial we learn how to install ocaml-ocamlgraph in Fedora 36. ocaml-ocamlgraph is OCaml library for arc and node graphs"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-ocamlgraph-featured.png
---

## Introduction

In this tutorial we learn how to install `ocaml-ocamlgraph` on Fedora 36.

### What is `ocaml-ocamlgraph`

> Ocamlgraph provides several different implementations of graph data structures. It also provides implementations for a number of classical graph algorithms like Kruskal's algorithm for MSTs, topological ordering of DAGs, Dijkstra's shortest paths algorithm, and Ford-Fulkerson's maximal-flow algorithm to name a few. The algorithms and data structures are written functorially for maximal reusability. Also has input and output capability for Graph Modeling Language file format and Dot and Neato graphviz (graph visualization) tools.  

We can use `yum` or `dnf` to install `ocaml-ocamlgraph` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-ocamlgraph.

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

sudo dnf -y install ocaml-ocamlgraph

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

sudo yum -y install ocaml-ocamlgraph

How To Uninstall ocaml-ocamlgraph on Fedora 36

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

sudo dnf remove ocaml-ocamlgraph

ocaml-ocamlgraph Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/6fb955bc64c0d31b2680dfa333e69402565cdf
/usr/lib64/ocaml/ocamlgraph
/usr/lib64/ocaml/ocamlgraph/META
/usr/lib64/ocaml/ocamlgraph/graph.cma
/usr/lib64/ocaml/ocamlgraph/graph.cmi
/usr/lib64/ocaml/ocamlgraph/graph.cmxs
/usr/lib64/ocaml/ocamlgraph/graph__.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Bitv.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Blocks.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Builder.cmi
/usr/lib64/ocaml/ocamlgraph/graph__ChaoticIteration.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Classic.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Clique.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Cliquetree.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Coloring.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Components.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Contraction.cmi
/usr/lib64/ocaml/ocamlgraph/graph__DGraphModel.cmi
/usr/lib64/ocaml/ocamlgraph/graph__DGraphRandModel.cmi
/usr/lib64/ocaml/ocamlgraph/graph__DGraphSubTree.cmi
/usr/lib64/ocaml/ocamlgraph/graph__DGraphTreeLayout.cmi
/usr/lib64/ocaml/ocamlgraph/graph__DGraphTreeModel.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Delaunay.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Dominator.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Dot.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Dot_ast.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Dot_lexer.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Dot_parser.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Fixpoint.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Flow.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Gmap.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Gml.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Graphml.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Graphviz.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Heap.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Imperative.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Kruskal.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Leaderlist.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Mcs_m.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Md.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Merge.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Mincut.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Minsep.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Nonnegative.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Oper.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Pack.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Path.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Persistent.cmi
/usr/lib64/ocaml/ocamlgraph/graph__PersistentQueue.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Prim.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Rand.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Sig.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Sig_pack.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Strat.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Topological.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Traverse.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Unionfind.cmi
/usr/lib64/ocaml/ocamlgraph/graph__Util.cmi
/usr/lib64/ocaml/ocamlgraph/graph__WeakTopological.cmi
/usr/lib64/ocaml/ocamlgraph/graph__XDot.cmi
/usr/lib64/ocaml/ocamlgraph/graph__XDotDraw.cmi
/usr/share/doc/ocaml-ocamlgraph
/usr/share/doc/ocaml-ocamlgraph/CREDITS
/usr/share/doc/ocaml-ocamlgraph/FAQ
/usr/share/licenses/ocaml-ocamlgraph
/usr/share/licenses/ocaml-ocamlgraph/COPYING
/usr/share/licenses/ocaml-ocamlgraph/LICENSE

References

Summary

In this tutorial we learn how to install ocaml-ocamlgraph on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/5d /usr/lib/.build-id/5d/113e0620f77cf760e137040af5c9e7da114b3c /usr/lib/ocaml/ocamlgraph /usr/lib/ocaml/ocamlgraph/META /usr/lib/ocaml/ocamlgraph/graph.cma /usr/lib/ocaml/ocamlgraph/graph.cmi /usr/lib/ocaml/ocamlgraph/graph.cmxs /usr/lib/ocaml/ocamlgraph/graph__.cmi /usr/lib/ocaml/ocamlgraph/graph__Bitv.cmi /usr/lib/ocaml/ocamlgraph/graph__Blocks.cmi /usr/lib/ocaml/ocamlgraph/graph__Builder.cmi /usr/lib/ocaml/ocamlgraph/graph__ChaoticIteration.cmi /usr/lib/ocaml/ocamlgraph/graph__Classic.cmi /usr/lib/ocaml/ocamlgraph/graph__Clique.cmi /usr/lib/ocaml/ocamlgraph/graph__Cliquetree.cmi /usr/lib/ocaml/ocamlgraph/graph__Coloring.cmi /usr/lib/ocaml/ocamlgraph/graph__Components.cmi /usr/lib/ocaml/ocamlgraph/graph__Contraction.cmi /usr/lib/ocaml/ocamlgraph/graph__DGraphModel.cmi /usr/lib/ocaml/ocamlgraph/graph__DGraphRandModel.cmi /usr/lib/ocaml/ocamlgraph/graph__DGraphSubTree.cmi /usr/lib/ocaml/ocamlgraph/graph__DGraphTreeLayout.cmi /usr/lib/ocaml/ocamlgraph/graph__DGraphTreeModel.cmi /usr/lib/ocaml/ocamlgraph/graph__Delaunay.cmi /usr/lib/ocaml/ocamlgraph/graph__Dominator.cmi /usr/lib/ocaml/ocamlgraph/graph__Dot.cmi /usr/lib/ocaml/ocamlgraph/graph__Dot_ast.cmi /usr/lib/ocaml/ocamlgraph/graph__Dot_lexer.cmi /usr/lib/ocaml/ocamlgraph/graph__Dot_parser.cmi /usr/lib/ocaml/ocamlgraph/graph__Fixpoint.cmi /usr/lib/ocaml/ocamlgraph/graph__Flow.cmi /usr/lib/ocaml/ocamlgraph/graph__Gmap.cmi /usr/lib/ocaml/ocamlgraph/graph__Gml.cmi /usr/lib/ocaml/ocamlgraph/graph__Graphml.cmi /usr/lib/ocaml/ocamlgraph/graph__Graphviz.cmi /usr/lib/ocaml/ocamlgraph/graph__Heap.cmi /usr/lib/ocaml/ocamlgraph/graph__Imperative.cmi /usr/lib/ocaml/ocamlgraph/graph__Kruskal.cmi /usr/lib/ocaml/ocamlgraph/graph__Leaderlist.cmi /usr/lib/ocaml/ocamlgraph/graph__Mcs_m.cmi /usr/lib/ocaml/ocamlgraph/graph__Md.cmi /usr/lib/ocaml/ocamlgraph/graph__Merge.cmi /usr/lib/ocaml/ocamlgraph/graph__Mincut.cmi /usr/lib/ocaml/ocamlgraph/graph__Minsep.cmi /usr/lib/ocaml/ocamlgraph/graph__Nonnegative.cmi /usr/lib/ocaml/ocamlgraph/graph__Oper.cmi /usr/lib/ocaml/ocamlgraph/graph__Pack.cmi /usr/lib/ocaml/ocamlgraph/graph__Path.cmi /usr/lib/ocaml/ocamlgraph/graph__Persistent.cmi /usr/lib/ocaml/ocamlgraph/graph__PersistentQueue.cmi /usr/lib/ocaml/ocamlgraph/graph__Prim.cmi /usr/lib/ocaml/ocamlgraph/graph__Rand.cmi /usr/lib/ocaml/ocamlgraph/graph__Sig.cmi /usr/lib/ocaml/ocamlgraph/graph__Sig_pack.cmi /usr/lib/ocaml/ocamlgraph/graph__Strat.cmi /usr/lib/ocaml/ocamlgraph/graph__Topological.cmi /usr/lib/ocaml/ocamlgraph/graph__Traverse.cmi /usr/lib/ocaml/ocamlgraph/graph__Unionfind.cmi /usr/lib/ocaml/ocamlgraph/graph__Util.cmi /usr/lib/ocaml/ocamlgraph/graph__WeakTopological.cmi /usr/lib/ocaml/ocamlgraph/graph__XDot.cmi /usr/lib/ocaml/ocamlgraph/graph__XDotDraw.cmi /usr/share/doc/ocaml-ocamlgraph /usr/share/doc/ocaml-ocamlgraph/CREDITS /usr/share/doc/ocaml-ocamlgraph/FAQ /usr/share/licenses/ocaml-ocamlgraph /usr/share/licenses/ocaml-ocamlgraph/COPYING /usr/share/licenses/ocaml-ocamlgraph/LICENSE


## References

* [ocaml-ocamlgraph website](https://backtracking.github.io/ocamlgraph/)

## Summary

In this tutorial we learn how to install `ocaml-ocamlgraph` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).