How To Install mdk on Fedora 36

In this tutorial we learn how to install mdk in Fedora 36. mdk is GNU MIX Development Kit

Introduction

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

What is mdk

MDK stands for MIX Development Kit, and provides tools for developing and executing, in a MIX virtual machine, MIXAL programs. The MIX is Donald Knuth’s mythical computer, described in the first volume of The Art of Computer Programming, which is programmed using MIXAL, the MIX assembly language. MDK includes a MIXAL assembler (mixasm) and a MIX virtual machine (mixvm) with a command line interface. In addition, a GTK+ GUI to mixvm, called gmixvm, is provided; and, in case you are an Emacs guy, you can try misc/mixvm.el, which allows running mixvm inside an Emacs GUD buffer. Using these interfaces, you can debug your MIXAL programs at source code level, and read/modify the contents of all the components of the MIX computer (including block devices, which are simulated using the file system).

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

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

sudo dnf -y install mdk

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

sudo yum -y install mdk

How To Uninstall mdk on Fedora 36

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

sudo dnf remove mdk

mdk Package Contents on Fedora 36

/usr/bin/gmixvm
/usr/bin/mixasm
/usr/bin/mixguile
/usr/bin/mixvm
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/a9c9ed281331c51da0af1b5952f92ec6ada2ca
/usr/lib/.build-id/49
/usr/lib/.build-id/49/a003a21ed4fdf1b1bf6f4b737a8c697e8ee28f
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/4e8a0ebcd693c1f02edaf411f18287eb3560d3
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/cf34ac3a7576e72e99a603ed880e129d9eb8c3
/usr/share/applications/mdk.desktop
/usr/share/doc/mdk
/usr/share/doc/mdk/AUTHORS
/usr/share/doc/mdk/README
/usr/share/doc/mdk/THANKS
/usr/share/info/mdk.info.gz
/usr/share/licenses/mdk
/usr/share/licenses/mdk/COPYING
/usr/share/locale/de/LC_MESSAGES/mdk.mo
/usr/share/mdk
/usr/share/mdk/mixal-mode.el
/usr/share/mdk/mixgtk.glade
/usr/share/mdk/mixguile-commands.scm
/usr/share/mdk/mixguile-vm-stat.scm
/usr/share/mdk/mixguile.scm
/usr/share/mdk/mixvm.el

References

Summary

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