Skip to content

Commit 349b09c

Browse files
authored
Update WSL troubleshooting in README.md
Instruct WSL users to install /usr/bin/ape to use binfmt service
1 parent 726f6e8 commit 349b09c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,14 @@ WantedBy=multi-user.target
341341

342342
Put that in `/etc/systemd/system/cosmo-binfmt.service`.
343343

344-
Then run `sudo systemctl enable cosmo-binfmt`.
344+
Ensure that the APE loader is installed to `/usr/bin/ape`:
345+
346+
```sh
347+
sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf
348+
sudo chmod +x /usr/bin/ape
349+
```
350+
351+
Then run `sudo systemctl enable --now cosmo-binfmt`.
345352

346353
Another thing that's helped WSL users who experience issues, is to
347354
disable the WIN32 interop feature:

0 commit comments

Comments
 (0)