Cannot install lua st package

Not sure if this is the right place for this question, but I’m unable to install the lua st package.
I’m using luarocks, which is working fine for other packages, but when I run it for st I get

pi@mabpi:~/development/lua $ sudo luarocks install st
Installing https://luarocks.org/st-0.0-1.src.rock

st 0.0-1 depends on lua 5.3 (5.3-1 provided by VM)
st 0.0-1 depends on cosock (0.2.0-1 installed)
st 0.0-1 depends on dkjson (2.6-1 installed)
st 0.0-1 depends on logface (0.0.2-1 installed)
st 0.0-1 depends on luasocket >= 3.0-rc1 (3.1.0-1 installed)
st 0.0-1 depends on luasec >= 1.0 (1.2.0-1 installed)
st 0.0-1 depends on lua-yaml (1.2-2 installed)
st 0.0-1 depends on luxure (0.3.0-3 installed)
st 0.0-1 depends on lifter_puller (0.1.0-1 installed)
st 0.0-1 depends on xml2lua (1.5-2 installed)

Error: Build error: Failed installing init.lua in /usr/local/lib/luarocks/rocks-5.3/st/0.0-1/lua/st/init.lua: init.lua: No such file or directory

Any ideas what I can do?

I don’t use luarocks.

1 Like

I downloaded the library direction and extracted it to /usr/local/lua_libs-api_v3. Then set my LUA_PATH=usr/local/lua_libs-api_v3

I get

pi@mabpi:/usr/local/lua_libs-api_v3 $ LUA_PATH=/usr/local/lua_libs-api_v3/?.lua;/usr/local/lua_libs-api_v3/?/init.lua;./?.lua;./?/init.lua
-bash: /usr/local/lua_libs-api_v3/?/init.lua: No such file or directory
-bash: ./?.lua: No such file or directory
-bash: ./?/init.lua: No such file or directory

EDIT: Never mind… Windows vs Linux. No ?