Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Documentation For Windows - Which file is the All-In-One download ? #1531

Open
hepiyellow opened this issue Aug 21, 2023 · 3 comments

Comments

@hepiyellow
Copy link

This documentation page for Windows installation says:

we also provide an all-in-one package which includes Lua 5.1 and LuaRocks in source format; get the latest win32.zip file here. The instructions below are about this package.

When opening the link, these are the latest version files:

  • luarocks-3.9.2.tar.gz
  • luarocks-3.9.2-windows-32.zip (luarocks.exe stand-alone Windows 32-bit binary)
  • luarocks-3.9.2-windows-64.zip (luarocks.exe stand-alone Windows 64-bit binary)
  • luarocks-3.9.2-linux-x86_64.zip (luarocks stand-alone Linux x86_64 binary)
  • luarocks-3.9.2-win32.zip (legacy Windows package, includes Lua 5.1)

Which one is the all-in-one ?

After downloading all of the zip files,
I found out that only this one luarocks-3.9.2-win32.zip  has the INSTALL.BAT,
so I Assumed this is the all-in-one.
But when I ran the install.bat,
I got an error: Could not find Lua, so maybe it isn't the all-in-one.

What's going on?

@hepiyellow hepiyellow changed the title Install Documentation For Windows - Which file is the All-InOne download ? Install Documentation For Windows - Which file is the All-In-One download ? Aug 21, 2023
@geomorillo
Copy link

no easy way to install lua with luarocks on windows the docs are confusing

@svermeulen
Copy link

svermeulen commented Aug 29, 2023

Yeah, when reading docs it feels like many parts are old. For eg: "For Windows, the all-in-one package already includes them and a binary of Lua, as a convenience." - Lua executable is not included. The only files are "luarocks.exe" and "luarocks-admin.exe"

Going the install.bat route is similarly confusing

@RedNeath
Copy link

Weird enough, because it did work for me.

If you try to display the help message you will get a list of options. If you haven't specified it, you should add a /L at the end of your command.

...

/L             Install LuaRocks' own copy of Lua even if detected,
               this will always be a 5.1 installation.
               (/LUA, /INC, /LIB, /BIN cannot be used with /L)

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants