tolua command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tolua: command not found
or when using sudo you get the following error message
sudo: tolua: command not found
Solutions to tolua: command not found
How To Fix tolua: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tolua is provided by libtolua-dev package.
libtolua-dev is:
tolua is a tool that greatly simplifies the integration of C/C++ code with Lua. Based on a cleaned header file, tolua automatically generates the binding code to access C/C++ features from Lua. Using Lua API and tag method facilities, tolua maps C/C++ constants, external variables, functions, classes, and methods to Lua.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libtolua-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libtolua-dev.
sudo apt -y install libtolua-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libtolua-dev
Summary
In this tutorial we learn how to fix tolua command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.