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.

  • FOSS Is Fun@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    Flatpak apps can be uninstalled without leaving a trace: flatpak uninstall --delete-data com.google.Chrome

    But you might need some global overrides to make all apps write their configuration into ~/.var. Personally I globally revoke apps the permission to access filesystem= host, home, xdg-config, xdg-data.

    That was actually the main reason that made me switch to Flatpak. Previously I used VMs to try out software, but with Flatpak I know that I can get rid of the application completely.

    • DryTomatoes@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      Thanks for the info! I’m definitely gonna look into flatpak.

      I built nodejs from source yesterday and it took forever. I’d definitely prefer something huge like that in a flatpak.