How To Install mdk on Fedora 34

mdk is GNU MIX Development Kit

Introduction

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install mdk.

Install mdk on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install mdk

Install mdk on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove mdk

mdk Package Contents on Fedora 34

/usr/bin/gmixvm
/usr/bin/mixasm
/usr/bin/mixguile
/usr/bin/mixvm
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/7edd9a176a2db633b5828c2a2db8976398631c
/usr/lib/.build-id/23
/usr/lib/.build-id/23/8131e30d041aaa220708f54172500f96015237
/usr/lib/.build-id/80
/usr/lib/.build-id/80/3d776f0dd3ad2ba0f8b09489de267e42640023
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/fdd096920455a28da42dc12caa34327e7ab676
/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 34 using yum and dnf.