How To Install utop on Fedora 36

In this tutorial we learn how to install utop in Fedora 36. utop is Improved toplevel for OCaml

Introduction

In this tutorial we learn how to install utop on Fedora 36.

What is utop

utop is an improved toplevel (i.e., Read-Eval-Print Loop) for OCaml. It can run in a terminal or in Emacs. It supports line editing, history, real-time and context sensitive completion, colors, and more.

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

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

sudo dnf -y install utop

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

sudo yum -y install utop

How To Uninstall utop on Fedora 36

To uninstall only the utop package we can use the following command:

sudo dnf remove utop

utop Package Contents on Fedora 36

/usr/bin/utop
/usr/bin/utop-full
/usr/lib64/ocaml/utop
/usr/lib64/ocaml/utop/META
/usr/lib64/ocaml/utop/uTop.cma
/usr/lib64/ocaml/utop/uTop.cmi
/usr/lib64/ocaml/utop/uTop_complete.cmi
/usr/lib64/ocaml/utop/uTop_history.cmi
/usr/lib64/ocaml/utop/uTop_lexer.cmi
/usr/lib64/ocaml/utop/uTop_main.cmi
/usr/lib64/ocaml/utop/uTop_private.cmi
/usr/lib64/ocaml/utop/uTop_styles.cmi
/usr/lib64/ocaml/utop/uTop_token.cmi
/usr/share/doc/utop
/usr/share/doc/utop/CHANGES.md
/usr/share/doc/utop/README.md
/usr/share/licenses/utop
/usr/share/licenses/utop/LICENSE
/usr/share/man/man1/utop-full.1.gz
/usr/share/man/man1/utop.1.gz
/usr/share/man/man5/utoprc.5.gz
/usr/share/utop
/usr/share/utop/utoprc-dark
/usr/share/utop/utoprc-light
---
title: "How To Install utop on Fedora 36"

linkTitle: “utop”

References

type: “docs”

description: “In this tutorial we learn how to install utop in Fedora 36. utop is Improved toplevel for OCaml”

date: “2022-08-17”

Summary

lastmod: “2022-08-17”

#image: /images/fedora/36/utop-featured.png

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

Introduction

In this tutorial we learn how to install utop on Fedora 36.

What is utop

utop is an improved toplevel (i.e., Read-Eval-Print Loop) for OCaml. It can run in a terminal or in Emacs. It supports line editing, history, real-time and context sensitive completion, colors, and more.

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

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

sudo dnf -y install utop

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

sudo yum -y install utop

How To Uninstall utop on Fedora 36

To uninstall only the utop package we can use the following command:

sudo dnf remove utop

utop Package Contents on Fedora 36

/usr/bin/utop
/usr/bin/utop-full
/usr/lib/ocaml/utop
/usr/lib/ocaml/utop/META
/usr/lib/ocaml/utop/uTop.cma
/usr/lib/ocaml/utop/uTop.cmi
/usr/lib/ocaml/utop/uTop_complete.cmi
/usr/lib/ocaml/utop/uTop_history.cmi
/usr/lib/ocaml/utop/uTop_lexer.cmi
/usr/lib/ocaml/utop/uTop_main.cmi
/usr/lib/ocaml/utop/uTop_private.cmi
/usr/lib/ocaml/utop/uTop_styles.cmi
/usr/lib/ocaml/utop/uTop_token.cmi
/usr/share/doc/utop
/usr/share/doc/utop/CHANGES.md
/usr/share/doc/utop/README.md
/usr/share/licenses/utop
/usr/share/licenses/utop/LICENSE
/usr/share/man/man1/utop-full.1.gz
/usr/share/man/man1/utop.1.gz
/usr/share/man/man5/utoprc.5.gz
/usr/share/utop
/usr/share/utop/utoprc-dark
/usr/share/utop/utoprc-light

References

Summary

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