this post was submitted on 05 Aug 2023
25 points (96.3% liked)

Linux

47997 readers
938 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
 

I'm doing a bunch of AI stuff that needs compiling to try various unrelated apps. I'm making a mess of config files and extras. I've been using distrobox and conda. How could I do this better? Chroot? Different user logins for extra home directories? Groups? Most of the packages need access to CUDA and localhost. I would like to keep them out of my main home directory.

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

NixOS containers could do what OP's asking for, but it'll be trickier with just nix (on other distro). It'll handle build dependencies and such, but you'll still need to keep your home or other directories clean some other way.

[–] [email protected] 4 points 1 year ago (3 children)

OP could use flakes to create these dev environments and clean them up without a trace once done.

[–] [email protected] 0 points 1 year ago (1 children)

Any files created by programs running in the dev environments will remain.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

Does NOT delete any files that were written to, for example, ~/.local by anything ran in the dev shell.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)