How To Install lua-say on Ubuntu 18.04

In this tutorial we learn how to install lua-say on Ubuntu 18.04. lua-say is Lua string hashing/indexing library

Introduction

In this tutorial we learn how to install lua-say on Ubuntu 18.04.

What is lua-say

lua-say is:

say is a simple string key/value store for i18n or any other case where you want namespaced strings.

There are three methods to install lua-say 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 lua-say 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-say using apt-get by running the following command:

sudo apt-get -y install lua-say

Install lua-say Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lua-say

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

sudo aptitude -y install lua-say

How To Uninstall lua-say on Ubuntu 18.04

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

sudo apt-get remove lua-say

Uninstall lua-say And Its Dependencies

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

sudo apt-get -y autoremove lua-say

Remove lua-say Configurations and Data

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

sudo apt-get -y purge lua-say

Remove lua-say configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lua-say

References

Summary

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