Concretely, gui-easy has collections racket/gui/easy, so:
# raco setup --pkgs gui-easy
raco setup: version: 8.17
raco setup: platform: x86_64-linux [cs]
raco setup: target machine: ta6le
raco setup: installation name: 8.17
raco setup: variants: cs
raco setup: main collects: /usr/share/racket/collects/
raco setup: collects paths:
raco setup: /home/benknoble/.local/share/racket/8.17/collects
raco setup: /usr/share/racket/collects/
raco setup: main pkgs: /usr/share/racket/pkgs
raco setup: pkgs paths:
raco setup: /usr/share/racket/pkgs
raco setup: /home/benknoble/.local/share/racket/8.17/pkgs
raco setup: links files:
raco setup: /usr/share/racket/links.rktd
raco setup: /home/benknoble/.local/share/racket/8.17/links.rktd
raco setup: compiled-file roots:
raco setup: same
raco setup: /usr/lib64/racket/compiled
raco setup: main docs: /usr/share/doc/racket-8.17
raco setup: --- updating info-domain tables --- [17:09:39]
raco setup: --- pre-installing collections --- [17:09:39]
raco setup: --- installing foreign libraries --- [17:09:39]
raco setup: --- installing shared files --- [17:09:39]
raco setup: --- compiling collections --- [17:09:39]
raco setup: --- parallel build using 8 jobs --- [17:09:39]
raco setup: 0: idle
raco setup: 1: idle
raco setup: 2: idle
raco setup: 3: idle
raco setup: 4: idle
raco setup: 5: idle
raco setup: 6: idle
raco setup: 7: idle
██████████████████▊█████████████████▊██████████████████▊█████████████████▊██████████████████▊█████████████████▊█████████████████▊██████████████████▊█████████████████▊██████████████████ 100%
raco setup: --- creating launchers --- [17:09:40]
raco setup: --- installing man pages --- [17:09:40]
raco setup: --- building documentation --- [17:09:40]
raco setup: --- installing collections --- [17:09:41]
raco setup: installing: <collects>/racket
raco setup: installing: <pkgs>/gui-lib/racket/gui
delete-file: cannot delete file
path: /usr/bin/gracket-text
system error: Permission non accordée; errno=13
context...:
/usr/share/racket/collects/launcher/launcher.rkt:177:0: install-template
/usr/share/racket/collects/launcher/launcher.rkt:385:0: make-unix-launcher
/usr/share/racket/pkgs/gui-lib/racket/gui/installer.rkt:48:0: do-installer
/usr/share/racket/collects/setup/setup-core.rkt:934:2: do-install-part
body of "/usr/share/racket/collects/setup/main.rkt"
body of "/usr/share/racket/collects/raco/main.rkt"
raco setup: --- post-installing collections --- [17:09:41]
raco setup: --- summary of errors --- [17:09:41]
raco setup: error: during general install for <pkgs>/gui-lib/racket/gui
raco setup: delete-file: cannot delete file
raco setup: path: /usr/bin/gracket-text
raco setup: system error: Permission non accordée; errno=13
I think the installation scope is owned by root, since I'm able to rebuild racket/gui as root, for example. I can't do raco setup racket/gui/easy, since that doesn't build and install the docs. What's a guy to do here to get local gui-easy docs?
(PS I didn't have this trouble on macOS, only Linux, but that's probably because the installation scope is managed by Homebrew or something so is not owned by root there.)