Hi,
On Mon, Aug 8, 2022, at 5:46 PM,
knigh...@gmail.com wrote:
> Hello all
>
> I'm trying to generate an installation that is self-contained, that I can move to another machine just by tar-untar or zip-unzip.
>
> The target machine may never be connected to the internet, so if I want to install packages I must follow this procedure.
>
I would suggest running:
./bin/raco pkg config -i --set default-scope installation
Setting the default scope to `installation` will cause commands like `raco pkg install` to install packages in the "pkgs" directory of your self-contained installation, rather than putting packages in a user-specific place by default.
(The more general `--scope` option is tricky to use correctly: I would think of it as a hook for higher-level tools.)
-Philip