this post was submitted on 05 Apr 2024
23 points (82.9% liked)

Linux

48092 readers
891 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Usually, I prefer manually installing the packages needed for getting started with a new language or technlogy.

I avoid using distro package managers since they tend to be a bit outdated in this regard, and specialised package managers like SDKMAN! seem overkill for one or more packages. Exceptions being languages with excellent tooling and version management like Rust or Ocaml.

I've been doing this for a while and was wondering what the general consensus is

Edit: Thanks for your replies everyone! I've decided to stick with my distro package manager.

you are viewing a single comment's thread
view the rest of the comments
[–] QuazarOmega@lemy.lol 2 points 6 months ago* (last edited 6 months ago) (1 children)

I'm honestly not sure how useful that flakehub

Me neither, I completely skipped over it, but it sounds interesting, maybe it wouldn't be as wonky as the AUR since it's Nix at least, idk

with barely no nix language knowledge I was able to roughly understand what’s going on

That's actually great! Maybe I'll try those as well, since sooner or later I'll have to learn the Nix language anyways and keeping a purer system is always a good thing if possible.

Good luck with devbox btw

edited: how tf did I end up ordering the text like that?

[–] Shareni@programming.dev 2 points 6 months ago (1 children)

maybe it wouldn't be as wonky as the AUR since it's Nix at least

That's for sure, since nix handles dependencies a lot better than pacman. But I meant that due to the sheer size of nixpkgs, and the way you can add a repo to your flakes, there's no real need for it. But that's just pure speculation.

I think a sensible progression is: nix + home-manager -> flakes -> develop -> nixOS

You build on previous knowledge without getting overwhelmed. I tried using guixos without ever using guix or nix, and it's really not nice when you have to spend a week trying to figure out how to do something that takes you 5 mins in a regular distro. It even took me a few attempts to get started with nix simply because the docs are abysmal, almost all info is on nixos, and home-manager is rarely mentioned.

[–] QuazarOmega@lemy.lol 2 points 6 months ago (1 children)

It sounds like it makes sense, but I'm not knowledgeable enough yet, I just found this as a maybe explanation https://flakehub.com/docs/faq#flake-versions I'd have to dig more in the rest of the ecosystem

I think a sensible progression is: nix + home-manager -> flakes -> develop -> nixOS

I can already see a good meme shaping up here, and I'm all for it XD
I really agree it might be the easiest way in, I'm already standing on the shoulders of giants having waited so long to start, so I guess I was lucky enough to skip the official docs

[–] Shareni@programming.dev 2 points 6 months ago (1 children)

That's pretty interesting, I'll need to give it a try.