How To Install libluasandbox-bin on Ubuntu 18.04

In this tutorial we learn how to install libluasandbox-bin on Ubuntu 18.04. libluasandbox-bin is Generic Lua sandbox library for dynamic data analysis – utilities

Introduction

In this tutorial we learn how to install libluasandbox-bin on Ubuntu 18.04.

What is libluasandbox-bin

libluasandbox-bin 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 command line utilities.

There are three methods to install libluasandbox-bin on Ubuntu 18.04. 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-bin 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-bin using apt-get by running the following command:

sudo apt-get -y install libluasandbox-bin

Install libluasandbox-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libluasandbox-bin

Install libluasandbox-bin 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libluasandbox-bin

How To Uninstall libluasandbox-bin on Ubuntu 18.04

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

sudo apt-get remove libluasandbox-bin

Uninstall libluasandbox-bin And Its Dependencies

To uninstall libluasandbox-bin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libluasandbox-bin

Remove libluasandbox-bin Configurations and Data

To remove libluasandbox-bin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libluasandbox-bin

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

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

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

References

Summary

In this tutorial we learn how to install libluasandbox-bin package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.