Install Luarocks On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Install Luarocks On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

luarocks

deployment and management system for Lua modules

Maintainer: Enrico Tassi



Section: interpreters

Install luarocks

  • Debian apt-get install luarocks Click to copy
  • Ubuntu apt-get install luarocks Click to copy
  • Alpine OS apk add luarocks Click to copy
  • Arch Linux pacman -S luarocks Click to copy
  • Kali Linux apt-get install luarocks Click to copy
  • Fedora dnf install luarocks Click to copy
  • Raspbian apt-get install luarocks Click to copy
  • macOS brew install luarocks Click to copy

luarocks

deployment and management system for Lua modules

This package contains LuaRocks, a tool for managing rocks. A Lua rock is a bundle containing a module and some metadata like compilation instructions and copyright. The command line utility luarocks can download, build, install and remove rocks, properly handling dependencies among them and allowing multiple versions of the same rock to coexist. The tool installs system-wide rocks in /usr/local when run by the superuser, but a regular user can easily tune it to install rocks in his home directory. This package also provides the luarocks-admin tool, needed to create a rocks repository, and the documentation for luarocks, describing the command line tools as well as the library to manipulate rocks.

Installation of latest luarocks command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.