Lobster
Lobster

Reputation: 635

installing lua socket lib

I am trying to install luasocket, but it I can't find any info how to do this. I downloaded from luaforge luasocket-2.0.2.tar.gz archive, but there is no configure file, only MVS solutions. So, how to get compiled libs?

Upvotes: 3

Views: 9786

Answers (2)

Paul Kulchenko
Paul Kulchenko

Reputation: 26794

This has already been discussed previously on SO; see for example this question and its answers.

Note that this is not the latest version of luasocket and it's not compatible with Lua 5.2 or Lua 5.3. You can get the more recent version from this repository.

Upvotes: 0

SLx64
SLx64

Reputation: 367

You can install LuaSocket via LuaRocks:

luarocks install luasocket

or directly from git:

luarocks install https://raw.githubusercontent.com/diegonehab/luasocket/master/luasocket-scm-0.rockspec

Upvotes: 5

Related Questions