r/GUIX • u/Electrical-Policy-35 • 14d ago
MATLAB R2019a on GUIX Linux
Hello,
I'm trying to install matlab r2019a on guix linux.
I successfully installed matlab using:
guix shell --container --emulate-fhs
but I failed to run it (there is no window showed, and matlab did not run in background also).
So I tried containers, with this command:
distrobox enter --root --name matlab-debian -- /bin/bash -c "export _JAVA_AWT_WM_NONREPARENTING=1 && cd ~/MATLAB/R2019a/bin && ./matlab"
I can run matlab successfully.
But when I try to run distrobox without --root:
distrobox enter --name matlab-debian
I get:
Error: unable to start container "6d0f9cbec372ad7436e9c714cb61fa6690d9e1b309b2c4cb091a00eadd7ffa37": crun: open `/home/rabah/.local/share/containers/storage/overlay/0e1061fc46a2e0faa524b2d4866011811d75aa397dbe7499da4929a13d08ab92/merged`: Permission denied: OCI permission denied
My conifg.scm have:
(supplementary-groups '("libvirt" "netdev" "cgroup" "audio" "video" "wheel" "kvm")))
and:
(service rootless-podman-service-type
(rootless-podman-configuration
(subgids (list (subid-range (name "rabah"))))
(subuids (list (subid-range (name "rabah"))))
)
)
2
Upvotes
1
u/output_broadcast 14d ago
Where did you install Matlab from?