LuaX binaries

November 20, 2024

Installation from sources

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.

Prerequisites

To compile LuaX from scratch, you first need:

Installation path

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

LuaX

$ git clone https://github.com/CDSoft/luax
$ cd luax
$ ./bootstrap.sh && 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)"

bang

$ git clone https://github.com/CDSoft/bang
$ cd bang
$ ./boot.lua && ninja install
$ cd ..

Calculadoira

$ git clone https://github.com/CDSoft/calculadoira
$ cd calculadoira
$ bang && ninja install
$ cd ..

lsvg

$ git clone https://github.com/CDSoft/lsvg
$ cd lsvg
$ bang && ninja install
$ cd ..

tagref

$ git clone https://github.com/CDSoft/tagref
$ cd tagref
$ bang && ninja install
$ cd ..

ypp

$ git clone https://github.com/CDSoft/ypp
$ cd ypp
$ bang && ninja install
$ cd ..

panda

$ git clone https://github.com/CDSoft/panda
$ cd panda
$ bang && ninja install
$ cd ..

LuaX light

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 7 MB
linux x86_64 musl curl https://cdelord.fr/pub/luax-linux-x86_64-musl.sh | sh
💾 luax-linux-x86_64-musl.tar.xz 7 MB
linux aarch64 curl https://cdelord.fr/pub/luax-linux-aarch64.sh | sh
💾 luax-linux-aarch64.tar.xz 7 MB
linux aarch64 musl curl https://cdelord.fr/pub/luax-linux-aarch64-musl.sh | sh
💾 luax-linux-aarch64-musl.tar.xz 7 MB
macos x86_64 curl https://cdelord.fr/pub/luax-macos-x86_64.sh | sh
💾 luax-macos-x86_64.tar.xz 7 MB
macos aarch64 curl https://cdelord.fr/pub/luax-macos-aarch64.sh | sh
💾 luax-macos-aarch64.tar.xz 7 MB
windows x86_64 curl https://cdelord.fr/pub/luax-windows-x86_64.sh | sh
💾 luax-windows-x86_64.tar.xz 7 MB
🪟 luax-windows-x86_64.zip 10 MB

LuaX full

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 40 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 39 MB
linux aarch64 curl https://cdelord.fr/pub/luax-full-linux-aarch64.sh | sh
💾 luax-full-linux-aarch64.tar.xz 39 MB
linux aarch64 musl curl https://cdelord.fr/pub/luax-full-linux-aarch64-musl.sh | sh
💾 luax-full-linux-aarch64-musl.tar.xz 39 MB
macos x86_64 curl https://cdelord.fr/pub/luax-full-macos-x86_64.sh | sh
💾 luax-full-macos-x86_64.tar.xz 31 MB
macos aarch64 curl https://cdelord.fr/pub/luax-full-macos-aarch64.sh | sh
💾 luax-full-macos-aarch64.tar.xz 37 MB
windows x86_64 curl https://cdelord.fr/pub/luax-full-windows-x86_64.sh | sh
💾 luax-full-windows-x86_64.tar.xz 41 MB
🪟 luax-full-windows-x86_64.zip 62 MB