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.

    • Lily33@kbin.social
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      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.

      • demesisx
        link
        fedilink
        English
        arrow-up
        7
        ·
        11 months ago

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

        • Lily33@kbin.social
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          11 months ago

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

            • Lily33@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              11 months ago

              Does NOT delete any files that were written to, for example, ~/.local or ~/.config from dev shell.

              One of OP’s problems was,

              I’m making a mess of config files and extras.