I started to use Linux Mint on my VM, however it seems like it uses a different channel for packages, which means I get some outdated packages such as D compilers, which makes me unable to compile my programs.

While the D compilers have some userspace installer scripts, they’re userspace only, meaning they need initialization scripts, which only work until the end of the given shell instance, which makes it particularly hard to use in certain contexts.

Is there some “untested” or similar branch to get some newer stuff? The compilers don’t seem to interfere with anything system level, so it should be fine.

  • mke@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    6 months ago

    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.

    • ZILtoid1991@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      I have installed them without the package manager, now I’m asking the community how do I edit the activation files that both LDC and DMD will act like they’re installed the normal way, especially since I don’t need to juggle between versions.