Wenn ich lua51 mit brew installiere, kann es den Befehl nicht ausführen. Wenn ich jedoch nur lua installiere (Homebrew install lua 5.2 standardmäßig) funktioniert der Lua-Befehl.OSX homebrew Lua51 kann lua Befehl nicht finden
Ich versuchte Brauen Link, aber das zeigt Lua51 bereits verknüpft.
hier ist ein Transkript
$ brew install lua (master)
Updating Homebrew...
....... Install output .......
/usr/local/Cellar/lua/5.2.4_4: 144 files, 705.5KB
$ lua (master)
Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio
>
$ brew uninstall lua (master)
Uninstalling /usr/local/Cellar/lua/5.2.4_4... (144 files, 705.5KB)
$ lua (master)
zsh: command not found: lua
$ brew install lua51 (master)
==> Downloading https://homebrew.bintray.com/bottles/[email protected]_4.el_capitan.bottle.tar.gz
....... Install output .......
/usr/local/Cellar/[email protected]/5.1.5_4: 136 files, 702.2KB
$ lua (master)
zsh: command not found: lua
Vielleicht heißt das Programm 'lua51' anstelle von' lua'? – lhf
Ich habe auch Lua51 versucht. Kein Effekt – Sakib
sieht aus wie ich brauchte. – Sakib