Open
Description
Is your feature request related to a problem? Please describe.
It is sometimes not at all easy to find out which module(s) would provide a certain executable.
In Linux distributions, there are tools like command-not-found
which suggest which package to install in such a case.
Describe the solution you'd like
It would be nice if I could ask modules which specific module I need to load to get an executable in PATH
.
Describe alternatives you've considered
Additional context
A very simplistic implementation would be to loop over all (or latest) modules, load each of them in a subshell, check if the binary is available (using command -v
, which
), and print the module name if so.
Speeding things up with e.g. parallel processing and/or caching could come later.