How To Install lua-luxio-doc on Debian 9

In this tutorial we learn how to install lua-luxio-doc on Debian 9. lua-luxio-doc is Documentation for lua-luxio

Introduction

In this tutorial we learn how to install lua-luxio-doc on Debian 9.

What is lua-luxio-doc

lua-luxio-doc is:

Lightweight UNIX I/O and POSIX binding for Lua

  • Reasonably good coverage of POSIX and BSD Sockets, including IPv6, and some GNU extensions.
  • Low-level. You get the return values and the errno for the bound functions where possible. Others take a table to fill in, or may return tables.
  • High-level wrapper library providing nice IO access and to misc. utility functions. Generates useful errors in assert()able form, and provides meaningful __tostring metamethods to aid debugging.
  • A high-level poll()-based event dispatch library.
  • Sub-process handling library (read/write io.popen with job control).
  • A prototype POSIX Message Queue-based IPC scheme that can serialise most simple Lua values. (No closures, userdata, etc)

This package contains the documentation on how to use the Lua Luxio library.

There are three methods to install lua-luxio-doc 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 lua-luxio-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install lua-luxio-doc using apt-get by running the following command:

sudo apt-get -y install lua-luxio-doc

Install lua-luxio-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lua-luxio-doc using apt by running the following command:

sudo apt -y install lua-luxio-doc

Install lua-luxio-doc 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 lua-luxio-doc using aptitude by running the following command:

sudo aptitude -y install lua-luxio-doc

How To Uninstall lua-luxio-doc on Debian 9

To uninstall only the lua-luxio-doc package we can use the following command:

sudo apt-get remove lua-luxio-doc

Uninstall lua-luxio-doc And Its Dependencies

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

sudo apt-get -y autoremove lua-luxio-doc

Remove lua-luxio-doc Configurations and Data

To remove lua-luxio-doc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge lua-luxio-doc

Remove lua-luxio-doc configuration, data, and all of its dependencies

We can use the following command to remove lua-luxio-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lua-luxio-doc

Dependencies

lua-luxio-doc have the following dependencies:

References

Summary

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