Install libtexlua52-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libtexlua52-dev
Description:
Tex Live: Lua 5.2, modified for use with LuaTeX (development part)
This package contains the static library and header files for the texlua library.
Homepage: http://www.tug.org/texlive/
Version: 2017.20170613.44572-8build1
Section: libdevel