this post was submitted on 07 Jun 2024
15 points (100.0% liked)

linux4noobs

2677 readers
3 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] mke@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

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 @tal@lemmy.today 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.world 3 points 1 year 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.