How to Install and Uninstall php-luasandbox Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "php-luasandbox" package

Please follow the guidance below to install php-luasandbox on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-luasandbox

2. Uninstall "php-luasandbox" package

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

$ sudo apt remove php-luasandbox $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-luasandbox package on Ubuntu 21.10 (Impish Indri)

Package: php-luasandbox
Architecture: amd64
Version: 4.0.1-1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: MediaWiki packaging team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 117
Depends: php | php-cli, libc6 (>= 2.17), liblua5.1-0, php-common (>= 1:7.0+33~), phpapi-20200930
Filename: pool/universe/p/php-luasandbox/php-luasandbox_4.0.1-1_amd64.deb
Size: 32128
MD5sum: 428fc09f9e9fdd2447ebffda60e0794c
SHA1: 276772926d4a21d1bf91f86ab281a7ce4449cded
SHA256: 64bf7e6eff2cc7f933d3a1deae34b4637754f58dcd196d03aa7dd54c49c13db5
SHA512: 2cde6ea4f4934fa364d8cf026a4f51e0a4073e269d8ec605c9465b48c8e94b6471a6b32ca36f41c94783929a2c3c351ece11b111a4625a0b9639904c7947d690
Homepage: https://www.mediawiki.org/wiki/LuaSandbox
Description-en: PHP extension that provides a sandboxed Lua environment
LuaSandbox is a PHP extension that provides a Lua environment which can be used
to run untrusted code. It provides a performance benefit compared to using a
standalone Lua binary.
.
LuaSandbox was designed for the MediaWiki Scribunto extension, which allows
users to write Lua code on the wiki, and then have it executed. But it has
no dependency upon MediaWiki and can be used standalone.
Description-md5: a88a912b9961dad3b4f3736ab1be0369