How To Install ocaml-labltk on Rocky Linux 8

In this tutorial we learn how to install ocaml-labltk on Rocky Linux 8. ocaml-labltk is Tcl/Tk interface for OCaml

Introduction

In this tutorial we learn how to install ocaml-labltk on Rocky Linux 8.

What is ocaml-labltk

labltk or mlTk is a library for interfacing OCaml with the scripting language Tcl/Tk (all versions since 8.0.3, but no betas).

We can use yum or dnf to install ocaml-labltk on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-labltk.

Install ocaml-labltk on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ocaml-labltk using dnf by running the following command:

sudo dnf -y install ocaml-labltk

Install ocaml-labltk on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocaml-labltk using yum by running the following command:

sudo yum -y install ocaml-labltk

How To Uninstall ocaml-labltk on Rocky Linux 8

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

sudo dnf remove ocaml-labltk

ocaml-labltk Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/3d15ac99698d8c7288e45cabbdfba63f1cc019
/usr/lib64/ocaml/labltk
/usr/lib64/ocaml/labltk/balloon.cmi
/usr/lib64/ocaml/labltk/bell.cmi
/usr/lib64/ocaml/labltk/button.cmi
/usr/lib64/ocaml/labltk/cBell.cmi
/usr/lib64/ocaml/labltk/cButton.cmi
/usr/lib64/ocaml/labltk/cCanvas.cmi
/usr/lib64/ocaml/labltk/cCheckbutton.cmi
/usr/lib64/ocaml/labltk/cClipboard.cmi
/usr/lib64/ocaml/labltk/cDialog.cmi
/usr/lib64/ocaml/labltk/cEncoding.cmi
/usr/lib64/ocaml/labltk/cEntry.cmi
/usr/lib64/ocaml/labltk/cFocus.cmi
/usr/lib64/ocaml/labltk/cFont.cmi
/usr/lib64/ocaml/labltk/cFrame.cmi
/usr/lib64/ocaml/labltk/cGrab.cmi
/usr/lib64/ocaml/labltk/cGrid.cmi
/usr/lib64/ocaml/labltk/cImage.cmi
/usr/lib64/ocaml/labltk/cImagebitmap.cmi
/usr/lib64/ocaml/labltk/cImagephoto.cmi
/usr/lib64/ocaml/labltk/cLabel.cmi
/usr/lib64/ocaml/labltk/cListbox.cmi
/usr/lib64/ocaml/labltk/cMenu.cmi
/usr/lib64/ocaml/labltk/cMenubutton.cmi
/usr/lib64/ocaml/labltk/cMessage.cmi
/usr/lib64/ocaml/labltk/cOption.cmi
/usr/lib64/ocaml/labltk/cOptionmenu.cmi
/usr/lib64/ocaml/labltk/cPack.cmi
/usr/lib64/ocaml/labltk/cPalette.cmi
/usr/lib64/ocaml/labltk/cPixmap.cmi
/usr/lib64/ocaml/labltk/cPlace.cmi
/usr/lib64/ocaml/labltk/cRadiobutton.cmi
/usr/lib64/ocaml/labltk/cResource.cmi
/usr/lib64/ocaml/labltk/cScale.cmi
/usr/lib64/ocaml/labltk/cScrollbar.cmi
/usr/lib64/ocaml/labltk/cSelection.cmi
/usr/lib64/ocaml/labltk/cText.cmi
/usr/lib64/ocaml/labltk/cTk.cmi
/usr/lib64/ocaml/labltk/cTkvars.cmi
/usr/lib64/ocaml/labltk/cTkwait.cmi
/usr/lib64/ocaml/labltk/cToplevel.cmi
/usr/lib64/ocaml/labltk/cWinfo.cmi
/usr/lib64/ocaml/labltk/cWm.cmi
/usr/lib64/ocaml/labltk/camltk.cmi
/usr/lib64/ocaml/labltk/canvas.cmi
/usr/lib64/ocaml/labltk/checkbutton.cmi
/usr/lib64/ocaml/labltk/clipboard.cmi
/usr/lib64/ocaml/labltk/dialog.cmi
/usr/lib64/ocaml/labltk/encoding.cmi
/usr/lib64/ocaml/labltk/entry.cmi
/usr/lib64/ocaml/labltk/fileevent.cmi
/usr/lib64/ocaml/labltk/fileselect.cmi
/usr/lib64/ocaml/labltk/focus.cmi
/usr/lib64/ocaml/labltk/font.cmi
/usr/lib64/ocaml/labltk/frame.cmi
/usr/lib64/ocaml/labltk/frx_after.cmi
/usr/lib64/ocaml/labltk/frx_color.cmi
/usr/lib64/ocaml/labltk/frx_ctext.cmi
/usr/lib64/ocaml/labltk/frx_dialog.cmi
/usr/lib64/ocaml/labltk/frx_entry.cmi
/usr/lib64/ocaml/labltk/frx_fillbox.cmi
/usr/lib64/ocaml/labltk/frx_fit.cmi
/usr/lib64/ocaml/labltk/frx_focus.cmi
/usr/lib64/ocaml/labltk/frx_font.cmi
/usr/lib64/ocaml/labltk/frx_listbox.cmi
/usr/lib64/ocaml/labltk/frx_mem.cmi
/usr/lib64/ocaml/labltk/frx_misc.cmi
/usr/lib64/ocaml/labltk/frx_req.cmi
/usr/lib64/ocaml/labltk/frx_rpc.cmi
/usr/lib64/ocaml/labltk/frx_selection.cmi
/usr/lib64/ocaml/labltk/frx_synth.cmi
/usr/lib64/ocaml/labltk/frx_text.cmi
/usr/lib64/ocaml/labltk/frx_widget.cmi
/usr/lib64/ocaml/labltk/frxlib.cma
/usr/lib64/ocaml/labltk/grab.cmi
/usr/lib64/ocaml/labltk/grid.cmi
/usr/lib64/ocaml/labltk/image.cmi
/usr/lib64/ocaml/labltk/imagebitmap.cmi
/usr/lib64/ocaml/labltk/imagephoto.cmi
/usr/lib64/ocaml/labltk/jpf_font.cmi
/usr/lib64/ocaml/labltk/jpflib.cma
/usr/lib64/ocaml/labltk/label.cmi
/usr/lib64/ocaml/labltk/labltk.cma
/usr/lib64/ocaml/labltk/labltk.cmi
/usr/lib64/ocaml/labltk/listbox.cmi
/usr/lib64/ocaml/labltk/menu.cmi
/usr/lib64/ocaml/labltk/menubutton.cmi
/usr/lib64/ocaml/labltk/message.cmi
/usr/lib64/ocaml/labltk/option.cmi
/usr/lib64/ocaml/labltk/optionmenu.cmi
/usr/lib64/ocaml/labltk/pack.cmi
/usr/lib64/ocaml/labltk/palette.cmi
/usr/lib64/ocaml/labltk/pixmap.cmi
/usr/lib64/ocaml/labltk/place.cmi
/usr/lib64/ocaml/labltk/protocol.cmi
/usr/lib64/ocaml/labltk/radiobutton.cmi
/usr/lib64/ocaml/labltk/rawwidget.cmi
/usr/lib64/ocaml/labltk/scale.cmi
/usr/lib64/ocaml/labltk/scrollbar.cmi
/usr/lib64/ocaml/labltk/selection.cmi
/usr/lib64/ocaml/labltk/shell.cmi
/usr/lib64/ocaml/labltk/text.cmi
/usr/lib64/ocaml/labltk/textvariable.cmi
/usr/lib64/ocaml/labltk/timer.cmi
/usr/lib64/ocaml/labltk/tk.cmi
/usr/lib64/ocaml/labltk/tkthread.cmi
/usr/lib64/ocaml/labltk/tkthread.cmo
/usr/lib64/ocaml/labltk/tkvars.cmi
/usr/lib64/ocaml/labltk/tkwait.cmi
/usr/lib64/ocaml/labltk/toplevel.cmi
/usr/lib64/ocaml/labltk/widget.cmi
/usr/lib64/ocaml/labltk/winfo.cmi
/usr/lib64/ocaml/labltk/wm.cmi
/usr/lib64/ocaml/stublibs/dlllabltk.so
/usr/share/doc/ocaml-labltk
/usr/share/doc/ocaml-labltk/Changes
/usr/share/doc/ocaml-labltk/README.mlTk

References

Summary

In this tutorial we learn how to install ocaml-labltk on Rocky Linux 8 using yum and dnf.