[racket-users] self contained zip file install?

2022-06-18 Thread knigh...@gmail.com
Hi all

Is there a plain ZIP file for kind-of installing racket? (must be ZIP - I 
can't even get a 7zip uninstaller installed).
I won't be able to put it in the standard Program Files folder and can't 
associate rkt files but I'm allowed to set up a plain directory and run 
from there. 

I may download and work with files, but I have no admin on this 
Windows 10 system
not even cmd - it's disallowed.


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com.


Re: [racket-users] self contained zip file install?

2022-06-18 Thread knigh...@gmail.com
No powershell, it's very tightly locked down

Maybe someone can give feedback (will it work) on this hack

Hmmm ... If there's no easy, quick way I'll try to run a windows VM at 
home,  
install in that VM, and copy racket from the VM's Windows 
"Program Files"
 folder to a USB, and put that on my work machine

On Saturday, June 18, 2022 at 2:55:21 PM UTC-4 Bruce O'Neel wrote:

> HI,
>
> So before I would download the minimal windows tar file to a linux system, 
> untar it, and then zip it back up.
>
> Then that could be copied to the corporate windows system and unzipped. 
>  And that give a minimal Racket.
>
> The part that has stopped working is I used to be able to, from cmd, run:
>
> raco pkg install -i racket-lib
> raco pkg install --deps search-auto -i main-distribution
>
> And I would have a fully working Racket.
>
> So this required cmd.exe to be run.  Can you run Powershell?  That can be 
> convinced to do those commands as well but I don't know how to do that. 
>  There might even be some way in minimal racket to convince those commands 
> to be run.
>
> What does not work anymore is that one of the packages is blocked by the 
> corporate proxy now as a "virus" so minimal racket it is.
>
> cheers
>
> bruce
>
> On 2022-06-18T18:06:54.000+02:00, knigh...@gmail.com  
> wrote:
>
> Hi all
>
> Is there a plain ZIP file for kind-of installing racket? (must be ZIP - I 
> can't even get a 7zip uninstaller installed).
> I won't be able to put it in the standard Program Files folder and can't 
> associate rkt files but I'm allowed to set up a plain directory and run 
> from there. 
>
> I may download and work with files, but I have no admin on this 
> Windows 10 system
> not even cmd - it's disallowed.
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/c6bde6cd-0256-4f2d-b5e7-c39ed84cf702n%40googlegroups.com.


Re: [racket-users] self contained zip file install?

2022-06-18 Thread knigh...@gmail.com
>>  No powershell, it's very tightly locked down

not even the shortcut to run programs - 
Windows key+r

On Saturday, June 18, 2022 at 3:36:56 PM UTC-4 knigh...@gmail.com wrote:

> No powershell, it's very tightly locked down
>
> Maybe someone can give feedback (will it work) on this hack
>
> Hmmm ... If there's no easy, quick way I'll try to run a windows VM at 
> home,  
> install in that VM, and copy racket from the VM's Windows 
> "Program Files"
>  folder to a USB, and put that on my work machine
>
> On Saturday, June 18, 2022 at 2:55:21 PM UTC-4 Bruce O'Neel wrote:
>
>> HI,
>>
>> So before I would download the minimal windows tar file to a linux 
>> system, untar it, and then zip it back up.
>>
>> Then that could be copied to the corporate windows system and unzipped. 
>>  And that give a minimal Racket.
>>
>> The part that has stopped working is I used to be able to, from cmd, run:
>>
>> raco pkg install -i racket-lib
>> raco pkg install --deps search-auto -i main-distribution
>>
>> And I would have a fully working Racket.
>>
>> So this required cmd.exe to be run.  Can you run Powershell?  That can be 
>> convinced to do those commands as well but I don't know how to do that. 
>>  There might even be some way in minimal racket to convince those commands 
>> to be run.
>>
>> What does not work anymore is that one of the packages is blocked by the 
>> corporate proxy now as a "virus" so minimal racket it is.
>>
>> cheers
>>
>> bruce
>>
>> On 2022-06-18T18:06:54.000+02:00, knigh...@gmail.com  
>> wrote:
>>
>> Hi all
>>
>> Is there a plain ZIP file for kind-of installing racket? (must be ZIP - I 
>> can't even get a 7zip uninstaller installed).
>> I won't be able to put it in the standard Program Files folder and can't 
>> associate rkt files but I'm allowed to set up a plain directory and run 
>> from there. 
>>
>> I may download and work with files, but I have no admin on this 
>> Windows 10 system
>> not even cmd - it's disallowed.
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20434606-a3e1-421f-aad0-7c7f645d2cadn%40googlegroups.com.


[racket-users] raco pkg for a one-directory, moveable installation

2022-08-08 Thread knigh...@gmail.com
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. 

This command 
.\raco pkg install  --scope-dir ../PKGS 

fails with this message:
raco pkg install: cannot link a directory that overlaps with a collection 
path
  collection path: C:\sks\bin\rkt85\collects\
  link path: C:\sks\bin\rkt85\
  as package: rkt85

Any suggestions on how to proceed? 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/a031a5df-f85e-4942-8cbd-247d990ef435n%40googlegroups.com.


Re: [racket-users] raco pkg for a one-directory, moveable installation

2022-08-09 Thread knigh...@gmail.com
Thanks, that fixed it - I had set up  a script to do this a while ago but 
lost it, 
and forgot that this was in there. 

On Monday, August 8, 2022 at 10:24:11 PM UTC-4 Philip McGrath wrote:

> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/11ccb897-b418-46e0-bfb4-eaa5c6caf793n%40googlegroups.com.