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 in a command line terminal type:

$ sudo gpg --keyserver --recv-keys 41038A7635126B4A
$ sudo gpg --export --armor 41038A7635126B4A | sudo apt-key add -
$ sudo apt update
$ sudo apt install gm2-doc gm2

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

$ apt-get source gm2