This is only peripherally related to Fortran but since many Fortran users deal with scientific software packages, I would be curious for your input on the following.
There are several distribution-agnostic package managers available for managing scientific software and common dependencies (e.g. MPI implementations). You can of course build them yourself and write module files to manage versions and environment variables, but there are also tools like Spack, EasyBuild, Linuxbrew/Homebrew, and I’m sure many others that I haven’t seen. I’d be interested to hear what other people use, which you would use if you had the choice, and why. Thanks!