How To Install ocaml-graphics on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-graphics
on Fedora 36.
What is ocaml-graphics
The graphics library provides a set of portable drawing primitives. Drawing takes place in a separate window that is created when Graphics.open_graph is called.
We can use yum
or dnf
to install ocaml-graphics
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-graphics.
Install ocaml-graphics 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-graphics
using dnf
by running the following command:
sudo dnf -y install ocaml-graphics
Install ocaml-graphics 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-graphics
using yum
by running the following command:
sudo yum -y install ocaml-graphics
How To Uninstall ocaml-graphics on Fedora 36
To uninstall only the ocaml-graphics
package we can use the following command:
sudo dnf remove ocaml-graphics
ocaml-graphics Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/b08513ece93650d635f5cd2c20e1b175f843ba
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/d7ed40efeb06d6b78430ccd75b38d3b94acb1b
/usr/lib/ocaml/graphics
/usr/lib/ocaml/graphics/META
/usr/lib/ocaml/graphics/graphics.cma
/usr/lib/ocaml/graphics/graphics.cmi
/usr/lib/ocaml/graphics/graphics.cmxs
/usr/lib/ocaml/graphics/graphicsX11.cmi
/usr/lib/ocaml/stublibs/dllgraphics_stubs.so
/usr/share/doc/ocaml-graphics
/usr/share/doc/ocaml-graphics/CHANGES.md
/usr/share/doc/ocaml-graphics/README.md
/usr/share/licenses/ocaml-graphics
/usr/share/licenses/ocaml-graphics/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-graphics
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install ocaml-graphics on Fedora 36” linkTitle: “ocaml-graphics” type: “docs” description: “In this tutorial we learn how to install ocaml-graphics in Fedora 36. ocaml-graphics is Portable drawing primitives for OCaml” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-graphics-featured.png
Introduction
In this tutorial we learn how to install ocaml-graphics
on Fedora 36.
What is ocaml-graphics
The graphics library provides a set of portable drawing primitives. Drawing takes place in a separate window that is created when Graphics.open_graph is called.
We can use yum
or dnf
to install ocaml-graphics
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-graphics.
Install ocaml-graphics 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-graphics
using dnf
by running the following command:
sudo dnf -y install ocaml-graphics
Install ocaml-graphics 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-graphics
using yum
by running the following command:
sudo yum -y install ocaml-graphics
How To Uninstall ocaml-graphics on Fedora 36
To uninstall only the ocaml-graphics
package we can use the following command:
sudo dnf remove ocaml-graphics
ocaml-graphics Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/4d2d3dc0cd0cc6af25ed6e8ae923cc4af451c9
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/e44a4dcdb0e960d4ce3008ec23298b49d01dde
/usr/lib64/ocaml/graphics
/usr/lib64/ocaml/graphics/META
/usr/lib64/ocaml/graphics/graphics.cma
/usr/lib64/ocaml/graphics/graphics.cmi
/usr/lib64/ocaml/graphics/graphics.cmxs
/usr/lib64/ocaml/graphics/graphicsX11.cmi
/usr/lib64/ocaml/stublibs/dllgraphics_stubs.so
/usr/share/doc/ocaml-graphics
/usr/share/doc/ocaml-graphics/CHANGES.md
/usr/share/doc/ocaml-graphics/README.md
/usr/share/licenses/ocaml-graphics
/usr/share/licenses/ocaml-graphics/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-graphics
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).