How To Install libluasandbox-dev on Debian 9

In this tutorial we learn how to install libluasandbox-dev on Debian 9. libluasandbox-dev is Generic Lua sandbox library for dynamic data analysis ?? development files

Introduction

In this tutorial we learn how to install libluasandbox-dev on Debian 9.

What is libluasandbox-dev

libluasandbox-dev 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).

This package contains the C headers and other development files.

There are three methods to install libluasandbox-dev 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 libluasandbox-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libluasandbox-dev using apt-get by running the following command:

sudo apt-get -y install libluasandbox-dev

Install libluasandbox-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libluasandbox-dev using apt by running the following command:

sudo apt -y install libluasandbox-dev

Install libluasandbox-dev 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 libluasandbox-dev using aptitude by running the following command:

sudo aptitude -y install libluasandbox-dev

How To Uninstall libluasandbox-dev on Debian 9

To uninstall only the libluasandbox-dev package we can use the following command:

sudo apt-get remove libluasandbox-dev

Uninstall libluasandbox-dev And Its Dependencies

To uninstall libluasandbox-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libluasandbox-dev

Remove libluasandbox-dev Configurations and Data

To remove libluasandbox-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libluasandbox-dev

Remove libluasandbox-dev configuration, data, and all of its dependencies

We can use the following command to remove libluasandbox-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libluasandbox-dev

Dependencies

libluasandbox-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libluasandbox-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.