It is highly recommended to build LuaX and friends from sources instead of relying on possibly outdated binaries. If you still prefer to download archives of prebuild LuaX binaries, you can jump to LuaX light or LuaX full.
For the bravest, here are instructions to compile and install LuaX.
To compile LuaX from scratch, you first need:
These softwares are installed by default in ~/.local/bin
and ~/.local/lib
. If the environment variable
PREFIX
is defined, they are installed in
$PREFIX/bin
and $PREFIX/lib
.
$ export PREFIX=install/path
$ git clone https://github.com/CDSoft/luax
$ cd luax
$ ./bootstrap.sh && ninja install
$ cd ..
If you need SSL (i.e. HTTPS support in LuaSocket), you have to add
the ssl
parameter:
$ git clone https://github.com/CDSoft/luax
$ cd luax
$ ./bootstrap.sh ssl && ninja install
$ cd ..
The next command sets some LuaX variables (PATH
,
LUA_PATH
, LUA_CPATH
). It can also be added to
your shell configuration (.bashrc
,
.zshrc
…).
$ eval "$(~/.local/bin/luax env)"
or
$ eval "$($PREFIX/bin/luax env)"
$ git clone https://github.com/CDSoft/bang
$ cd bang
$ ./boot.lua && ninja install
$ cd ..
$ git clone https://github.com/CDSoft/calculadoira
$ cd calculadoira
$ bang && ninja install
$ cd ..
$ git clone https://github.com/CDSoft/lsvg
$ cd lsvg
$ bang && ninja install
$ cd ..
$ git clone https://github.com/CDSoft/tagref
$ cd tagref
$ bang && ninja install
$ cd ..
$ git clone https://github.com/CDSoft/ypp
$ cd ypp
$ bang && ninja install
$ cd ..
$ git clone https://github.com/CDSoft/panda
$ cd panda
$ bang && ninja install
$ cd ..
The light LuaX archives contain LuaX binaries and some tools written in LuaX:
This command detects the OS and installs LuaX in
$PREFIX/bin
and $PREFIX/lib
(the default
prefix is ~/.local/bin
and ~/.local/lib
):
curl https://cdelord.fr/pub/luax.sh | sh
If you want to install a specific version (e.g. binaries statically linked with musl or if you are on Windows), just pick the right command or archive here:
Target | Installation | Size |
---|---|---|
linux x86_64 | curl https://cdelord.fr/pub/luax-linux-x86_64.sh | sh |
|
💾 luax-linux-x86_64.tar.xz | 9 MB | |
linux x86_64 musl | curl https://cdelord.fr/pub/luax-linux-x86_64-musl.sh | sh |
|
💾 luax-linux-x86_64-musl.tar.xz | 9 MB | |
linux aarch64 | curl https://cdelord.fr/pub/luax-linux-aarch64.sh | sh |
|
💾 luax-linux-aarch64.tar.xz | 9 MB | |
linux aarch64 musl | curl https://cdelord.fr/pub/luax-linux-aarch64-musl.sh | sh |
|
💾 luax-linux-aarch64-musl.tar.xz | 9 MB | |
macos x86_64 | curl https://cdelord.fr/pub/luax-macos-x86_64.sh | sh |
|
💾 luax-macos-x86_64.tar.xz | 9 MB | |
macos aarch64 | curl https://cdelord.fr/pub/luax-macos-aarch64.sh | sh |
|
💾 luax-macos-aarch64.tar.xz | 9 MB | |
windows x86_64 | curl https://cdelord.fr/pub/luax-windows-x86_64.sh | sh |
|
💾 luax-windows-x86_64.tar.xz | 9 MB | |
🪟 luax-windows-x86_64.zip | 13 MB |
These archives are similar to the light LuaX archives. LuaX binaries also contain LuaSec and OpenSSL to add HTTPS support to LuaSocket.
curl https://cdelord.fr/pub/luax-ssl.sh | sh
If you want to install a specific version (e.g. binaries statically linked with musl or if you are on Windows), just pick the right command or archive here:
Target | Installation | Size |
---|---|---|
linux x86_64 | curl https://cdelord.fr/pub/luax-ssl-linux-x86_64.sh | sh |
|
💾 luax-ssl-linux-x86_64.tar.xz | 42 MB | |
linux x86_64 musl | curl https://cdelord.fr/pub/luax-ssl-linux-x86_64-musl.sh | sh |
|
💾 luax-ssl-linux-x86_64-musl.tar.xz | 41 MB | |
linux aarch64 | curl https://cdelord.fr/pub/luax-ssl-linux-aarch64.sh | sh |
|
💾 luax-ssl-linux-aarch64.tar.xz | 42 MB | |
linux aarch64 musl | curl https://cdelord.fr/pub/luax-ssl-linux-aarch64-musl.sh | sh |
|
💾 luax-ssl-linux-aarch64-musl.tar.xz | 41 MB | |
macos x86_64 | curl https://cdelord.fr/pub/luax-ssl-macos-x86_64.sh | sh |
|
💾 luax-ssl-macos-x86_64.tar.xz | 41 MB | |
macos aarch64 | curl https://cdelord.fr/pub/luax-ssl-macos-aarch64.sh | sh |
|
💾 luax-ssl-macos-aarch64.tar.xz | 41 MB | |
windows x86_64 | curl https://cdelord.fr/pub/luax-ssl-windows-x86_64.sh | sh |
|
💾 luax-ssl-windows-x86_64.tar.xz | 40 MB | |
🪟 luax-ssl-windows-x86_64.zip | 51 MB |
The full LuaX archives contain the same softwares than the light archives plus some heavier but super useful programs:
This command detects the OS and installs LuaX in
$PREFIX/bin
and $PREFIX/lib
(the default
prefix is ~/.local/bin
and ~/.local/lib
):
curl https://cdelord.fr/pub/luax-full.sh | sh
If you want to install a specific version (e.g. binaries statically linked with musl or if you are on Windows), just pick the right command or archive here:
Target | Installation | Size |
---|---|---|
linux x86_64 | curl https://cdelord.fr/pub/luax-full-linux-x86_64.sh | sh |
|
💾 luax-full-linux-x86_64.tar.xz | 41 MB | |
linux x86_64 musl | curl https://cdelord.fr/pub/luax-full-linux-x86_64-musl.sh | sh |
|
💾 luax-full-linux-x86_64-musl.tar.xz | 41 MB | |
linux aarch64 | curl https://cdelord.fr/pub/luax-full-linux-aarch64.sh | sh |
|
💾 luax-full-linux-aarch64.tar.xz | 41 MB | |
linux aarch64 musl | curl https://cdelord.fr/pub/luax-full-linux-aarch64-musl.sh | sh |
|
💾 luax-full-linux-aarch64-musl.tar.xz | 40 MB | |
macos x86_64 | curl https://cdelord.fr/pub/luax-full-macos-x86_64.sh | sh |
|
💾 luax-full-macos-x86_64.tar.xz | 33 MB | |
macos aarch64 | curl https://cdelord.fr/pub/luax-full-macos-aarch64.sh | sh |
|
💾 luax-full-macos-aarch64.tar.xz | 39 MB | |
windows x86_64 | curl https://cdelord.fr/pub/luax-full-windows-x86_64.sh | sh |
|
💾 luax-full-windows-x86_64.tar.xz | 42 MB | |
🪟 luax-full-windows-x86_64.zip | 65 MB |
These archives are similar to the full LuaX archives. LuaX binaries also contain LuaSec and OpenSSL to add HTTPS support to LuaSocket.
curl https://cdelord.fr/pub/luax-full-ssl.sh | sh
If you want to install a specific version (e.g. binaries statically linked with musl or if you are on Windows), just pick the right command or archive here:
Target | Installation | Size |
---|---|---|
linux x86_64 | curl https://cdelord.fr/pub/luax-full-ssl-linux-x86_64.sh | sh |
|
💾 luax-full-ssl-linux-x86_64.tar.xz | 75 MB | |
linux x86_64 musl | curl https://cdelord.fr/pub/luax-full-ssl-linux-x86_64-musl.sh | sh |
|
💾 luax-full-ssl-linux-x86_64-musl.tar.xz | 74 MB | |
linux aarch64 | curl https://cdelord.fr/pub/luax-full-ssl-linux-aarch64.sh | sh |
|
💾 luax-full-ssl-linux-aarch64.tar.xz | 74 MB | |
linux aarch64 musl | curl https://cdelord.fr/pub/luax-full-ssl-linux-aarch64-musl.sh | sh |
|
💾 luax-full-ssl-linux-aarch64-musl.tar.xz | 73 MB | |
macos x86_64 | curl https://cdelord.fr/pub/luax-full-ssl-macos-x86_64.sh | sh |
|
💾 luax-full-ssl-macos-x86_64.tar.xz | 66 MB | |
macos aarch64 | curl https://cdelord.fr/pub/luax-full-ssl-macos-aarch64.sh | sh |
|
💾 luax-full-ssl-macos-aarch64.tar.xz | 73 MB | |
windows x86_64 | curl https://cdelord.fr/pub/luax-full-ssl-windows-x86_64.sh | sh |
|
💾 luax-full-ssl-windows-x86_64.tar.xz | 75 MB | |
🪟 luax-full-ssl-windows-x86_64.zip | 103 MB |