90
submitted 4 months ago by Blaze@lemmy.zip to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Opisek@lemmy.world 4 points 4 months ago

Hey, that's why I wanted an explanation! The one I got an a search result made it seem like you can't install anything.

[-] towerful@programming.dev 3 points 4 months ago

Yeh, immutable distros... You can install software, it's just you have to declaratively define what software you want, then apply that as a patch.
You don't just apt install cowsay, you have to create a file that defines the installation of cowsay.
This way, if you have to change how cowsay is installed, you tweak that patch file and reapply it.
If you have to wipe & reinstall (or get a new computer or whatever) you just apply all your patches, and the system is the same again.

[-] KISSmyOSFeddit@lemmy.world 3 points 4 months ago

You're talking about declarative systems like Nix. Immutable just means that the root filesystem is read-only. You can install programs as Flatpaks or inside a container (toolbox on Silverblue).

[-] towerful@programming.dev 2 points 4 months ago

Oh, no kidding.
I always thought immutable required the declarative installs.
I guess, immutable is more "containerised userland"?

this post was submitted on 12 Jun 2024
90 points (96.9% liked)

Linux

5104 readers
323 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS