Check OS properties using lsb_release -a
or just cat cat /etc/os-release
for yours.
###Tested on 6.0.0-2parrot1-amd64
$ sudo apt install tcl* -y
$ curl -LJO https://github.com/cea-hpc/modules/releases/download/v5.1.1/modules-5.1.1.tar.gz
$ tar xfz modules-5.1.1.tar.gz
$ cd modules-5.1.1
$ sudo ./configure
$ sudo ./make
$ sudo make install
$ PREFIX='/usr/local/Modules'
$ sudo ln -s $PREFIX/init/profile.sh /etc/profile.d/modules.sh
$ sudo ln -s $PREFIX/init/profile.csh /etc/profile.d/modules.csh
$ source /usr/local/Modules/init/bash
use module's man page for usage