Missing environment-modules on Debian

Dear Experts,
I’m facing trouble with environment-modules on Debian while loading O2 by command
alienv enter O2Physics/latest

ERROR: Environment Modules was not found on your system.
Get it with: apt-get install environment-modules

However, installing environment-modules is not recommended by the system administrator as it removes the successor package “lmod”. Could you please suggest me an alternative solution ?

Thank you,

ALICE software requires environment-modules to work. lmod at this moment is not supported, and at the moment I do not have any access to a system where it is installed.

If you want to support it yourself, it probably boils down to modify the MODULECMD detection in alienv. If you manage to get it to work is small enough we can probably add it to the upstream version.