Update README.md
Browse files
README.md
CHANGED
@@ -83,6 +83,16 @@ Having **trouble?** See the ["Gotchas"
|
|
83 |
section](https://github.com/mozilla-ocho/llamafile/?tab=readme-ov-file#gotchas-and-troubleshooting)
|
84 |
of the README.
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
On Windows there's a 4GB limit on executable sizes. This means you
|
87 |
should download the Q6\_K llamafile.
|
88 |
|
|
|
83 |
section](https://github.com/mozilla-ocho/llamafile/?tab=readme-ov-file#gotchas-and-troubleshooting)
|
84 |
of the README.
|
85 |
|
86 |
+
On Linux, the way to avoid run-detector errors is to install the APE
|
87 |
+
interpreter.
|
88 |
+
|
89 |
+
```sh
|
90 |
+
sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf
|
91 |
+
sudo chmod +x /usr/bin/ape
|
92 |
+
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
|
93 |
+
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
|
94 |
+
```
|
95 |
+
|
96 |
On Windows there's a 4GB limit on executable sizes. This means you
|
97 |
should download the Q6\_K llamafile.
|
98 |
|