How To Install ocaml-SDL on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-SDL
on Fedora 36.
What is ocaml-SDL
Runtime libraries to allow programs written in OCaml to write to SDL (Simple DirectMedia Layer) interfaces.
We can use yum
or dnf
to install ocaml-SDL
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-SDL.
Install ocaml-SDL 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-SDL
using dnf
by running the following command:
sudo dnf -y install ocaml-SDL
Install ocaml-SDL 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-SDL
using yum
by running the following command:
sudo yum -y install ocaml-SDL
How To Uninstall ocaml-SDL on Fedora 36
To uninstall only the ocaml-SDL
package we can use the following command:
sudo dnf remove ocaml-SDL
ocaml-SDL Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/8a8ada9e5e930a3e8544e0dce1a604da9f06f7
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/049468ba034723805d544113cbf41ba9d0d951
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/27765f91c54ecc93fae7f40e8c5c3aed0ef226
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/99b64e401471761299ffeba02eedd7cfa89f52
/usr/lib64/ocaml/sdl
/usr/lib64/ocaml/sdl/sdl.cma
/usr/lib64/ocaml/sdl/sdl.cmi
/usr/lib64/ocaml/sdl/sdl.cmx
/usr/lib64/ocaml/sdl/sdlcdrom.cmi
/usr/lib64/ocaml/sdl/sdlcdrom.cmx
/usr/lib64/ocaml/sdl/sdlevent.cmi
/usr/lib64/ocaml/sdl/sdlevent.cmx
/usr/lib64/ocaml/sdl/sdlgl.cmi
/usr/lib64/ocaml/sdl/sdlgl.cmx
/usr/lib64/ocaml/sdl/sdljoystick.cmi
/usr/lib64/ocaml/sdl/sdljoystick.cmx
/usr/lib64/ocaml/sdl/sdlkey.cmi
/usr/lib64/ocaml/sdl/sdlkey.cmx
/usr/lib64/ocaml/sdl/sdlloader.cma
/usr/lib64/ocaml/sdl/sdlloader.cmi
/usr/lib64/ocaml/sdl/sdlloader.cmx
/usr/lib64/ocaml/sdl/sdlmixer.cma
/usr/lib64/ocaml/sdl/sdlmixer.cmi
/usr/lib64/ocaml/sdl/sdlmixer.cmx
/usr/lib64/ocaml/sdl/sdlmouse.cmi
/usr/lib64/ocaml/sdl/sdlmouse.cmx
/usr/lib64/ocaml/sdl/sdltimer.cmi
/usr/lib64/ocaml/sdl/sdltimer.cmx
/usr/lib64/ocaml/sdl/sdlttf.cma
/usr/lib64/ocaml/sdl/sdlttf.cmi
/usr/lib64/ocaml/sdl/sdlttf.cmx
/usr/lib64/ocaml/sdl/sdlvideo.cmi
/usr/lib64/ocaml/sdl/sdlvideo.cmx
/usr/lib64/ocaml/sdl/sdlwm.cmi
/usr/lib64/ocaml/sdl/sdlwm.cmx
/usr/lib64/ocaml/stublibs/dllsdlloaderstub.so
/usr/lib64/ocaml/stublibs/dllsdlmixerstub.so
/usr/lib64/ocaml/stublibs/dllsdlstub.so
/usr/lib64/ocaml/stublibs/dllsdlttfstub.so
/usr/share/doc/ocaml-SDL
/usr/share/doc/ocaml-SDL/AUTHORS
/usr/share/doc/ocaml-SDL/COPYING
/usr/share/doc/ocaml-SDL/NEWS
/usr/share/doc/ocaml-SDL/README
References
Summary
In this tutorial we learn how to install ocaml-SDL
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).