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 http://floppsie.comp.glam.ac.uk/debian/ stretch main deb-src http://floppsie.comp.glam.ac.uk/debian/ stretch main
Now in a command line terminal type:
$ sudo gpg --keyserver pgp.mit.edu --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