How To Install libluasandbox0 on Debian 9
Introduction
In this tutorial we learn how to install libluasandbox0
on Debian 9.
What is libluasandbox0
libluasandbox0 is:
The Lua sandbox is a library allowing customized control over the Lua execution environment including functionality like global data preservation/restoration on shutdown/startup, output collection in textual or binary formats and an array of parsers for various data types (Nginx, Apache, Syslog, MySQL and many RFC grammars).
Sandboxes provide a dynamic and isolated execution environment for data parsing, transformation, and analysis. They allow access to data without jeopardizing the integrity or performance of the processing infrastructure. This broadens the audience that the data can be exposed to and facilitates new uses of the data (i.e. debugging, monitoring, dynamic provisioning, SLA analysis, intrusion detection, ad-hoc reporting, etc.)
Features of lua-sandbox:
- small: memory requirements are as little as 8 KiB for a basic sandbox
- fast: microsecond execution times
- stateful: ability to resume where it left off after a restart/reboot
- isolated: failures are contained and malfunctioning sandboxes are terminated. Containment is defined in terms of restriction to the operating system, file system, libraries, memory use, Lua instruction use, and output size.
There are three methods to install libluasandbox0
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libluasandbox0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libluasandbox0
using apt-get
by running the following command:
sudo apt-get -y install libluasandbox0
Install libluasandbox0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libluasandbox0
using apt
by running the following command:
sudo apt -y install libluasandbox0
Install libluasandbox0 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libluasandbox0
using aptitude
by running the following command:
sudo aptitude -y install libluasandbox0
How To Uninstall libluasandbox0 on Debian 9
To uninstall only the libluasandbox0
package we can use the following command:
sudo apt-get remove libluasandbox0
Uninstall libluasandbox0 And Its Dependencies
To uninstall libluasandbox0
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libluasandbox0
Remove libluasandbox0 Configurations and Data
To remove libluasandbox0
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libluasandbox0
Remove libluasandbox0 configuration, data, and all of its dependencies
We can use the following command to remove libluasandbox0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libluasandbox0
Dependencies
libluasandbox0 have the following dependencies:
References
Summary
In this tutorial we learn how to install libluasandbox0
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.