This document how to install XMLua on the following platforms:
You must install LuaJIT and LuaRocks before installing XMLua.
% sudo apt install -y -V libxml2
% sudo luarocks install xmlua
% sudo apt install -y -V libxml2
% sudo luarocks install xmlua
% sudo yum install -y libxml2
% sudo luarocks install xmlua
For CentOS 6 x86_64:
% sudo yum install -y libxml2
% sudo luarocks install xmlua LIBXML2_LIBDIR=/usr/lib64
% brew install libxml2
% sudo luarocks install xmlua