I'd have to check to be sure, but "only works until the end of the given shell instance" sounds like a classic case of simply needing to update your environment setup (i.e. editing shell startup files, such as ~/.profile and the like). I believe the Arch wiki has a nice page explaining (at least) the basics of how this all works.
Therefore, along with what @[email protected] said, I'd suggest seeking help with the D community, if possible. They may have experience helping users who faced the same issues as you the past.
Finally, there are more sophisticated options should you need them. For example, distrobox for using another distro's packages on your own. I really don't think they'll be necessary here, though, so I'm not going into detail immediately.
Commenting on Thunder is a bit rough right now... so I'll try to remember to add some links later, when I have a computer.