How to Install and Uninstall luarocks Package on Ubuntu 21.10 (Impish Indri)

Last updated: March 15,2025

1. Install "luarocks" package

Here is a brief guide to show you how to install luarocks on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install luarocks

2. Uninstall "luarocks" package

This guide let you learn how to uninstall luarocks on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove luarocks $ sudo apt autoclean && sudo apt autoremove

3. Information about the luarocks package on Ubuntu 21.10 (Impish Indri)

Package: luarocks
Architecture: all
Version: 2.4.2+dfsg-1.1
Priority: optional
Section: universe/interpreters
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Enrico Tassi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 688
Depends: lua-any, lua5.1 | lua5.2 | lua5.3, liblua5.1-dev | liblua5.2-dev | liblua5.3-dev, wget, zip, unzip
Recommends: lua-sec
Filename: pool/universe/l/luarocks/luarocks_2.4.2+dfsg-1.1_all.deb
Size: 97480
MD5sum: c8362493c68b3518df17643f1ed15191
SHA1: 2c1415151f3b790c58b5dc9dc1817ae794b4c65b
SHA256: 3012ac872bf1c7e8140442d58358c585a91a519bfaabc6c7fb3657e99bb0dcb3
SHA512: bb2d83c53c197f5f136d38bb6f919314c387c462d332b6f9ef5fc52794ed8139f0034cdf78707af07871804e9a64319c86609ae6e1abb4d68a581c4a61486217
Homepage: http://luarocks.org/
Description-en: 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.
Description-md5: b888f425d832481f23d488080ca87698