Enable Rosetta for x86_64 binaries¶
Enable Rosetta if you need to run x86_64 Intel/AMD Linux binaries in your Slicer guest. For more background on Rosetta, see Appleās documentation: https://support.apple.com/en-us/102527
Enable in slicer-mac.yaml¶
Edit the relevant host group in your slicer-mac.yaml and flip rosetta to true.
slicerhost group affects your persistent main VM (slicer-1).sboxhost group affects sandbox VMs (sbox-*).
- rosetta: false
+ rosetta: true
@@
- rosetta: false
+ rosetta: true
Install Rosetta in the guest VM (if wanted)¶
If your distribution needs Rosetta and rosetta: true, copy the helper into the guest and run it there.
slicer vm --url ./slicer.sock cp ./enable-rosetta.sh slicer-1:~/
slicer vm --url ./slicer.sock exec slicer-1 -- bash ~/enable-rosetta.sh
Keep this off unless you need x86_64 compatibility.