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

Linux

5230 readers
163 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 5 months ago (1 children)

You typically do that in a container and use the container.

If you really want it on your system root you can layer it in as a commit on top of the distro with rpm-ostree. System upgrades should change the commits below yours but keep your modifications on top.

[–] [email protected] 1 points 5 months ago (1 children)

So, if I wanted to install zsh I would need to use a container for it?

[–] [email protected] 1 points 5 months ago

For something like that where you likely want it everywhere, I would probably layer it on top of the base system (with rpm-ostree install zsh). That uses the same Fedora package management as dnf but applies it as a changeset on the immutable system instead of modifying things directly.

Something more specific to a single category of task (I'm thinking like Rust or Python tooling) you might want to leave in a container.