The GNU Modula-2 front end to GCC

Getting GNU Modula-2

The easiest way to obtain GNU Modula-2 is to install i386 or amd64 Debian GNU/Linux and then add these repository descriptions to your /etc/apt/sources.list file.

#  GNU Modula-2 repo

deb stretch main
deb-src stretch main

Now as root type:

$ apt-get update
$ apt-get install gm2-doc gm2

As a normal user you can obtain the source code via:

$ apt-get source gm2
  • Packages are also built under jessie (just replace stretch with jessie in your /etc/apt/sources.list file).