title: How can I install lua5.3 for Centos7
body: <p>Good day,
  I really spent almost all after-noon looking to install lua5.3 <strong>on Centos 7</strong>.
  I mostly found information to install Lua5.1 but we really need a version 5.2 or 5.3.</p>
  
  <p>If I found information for 5.3, it was not for Centos.</p>
  
  <p>Until now, the best I could do, is to download the source version from lua web site
  <a href="https://www.lua.org/download.html" rel="nofollow noreferrer">enter link description here</a>
  But I still can not install it.</p>
  
  <p>Here are my steps, may be you can help to continue</p>
  
  <pre><code>curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz
  tar zxf lua-5.3.4.tar.gz
  cd lua-5.3.4
  make linux test
  </code></pre>
  
  <p>The problem, from that point how can I install it.</p>
  
  <p>I tried</p>
  
  <pre><code>make
  </code></pre>
  
  <p>and </p>
  
  <pre><code>make linux
  </code></pre>
  
  <p>make linux make me a fatal error</p>
  
  <blockquote>
    <p>[root@pc6 lua-5.3.4]# make linux cd src &amp;&amp; make linux make<a href="https://www.lua.org/download.html" rel="nofollow noreferrer">1</a>:
    Entering directory <code>/root/install-package/lua-5.3.4/src' make all
    SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline" make[2]:
    Entering directory</code>/root/install-package/lua-5.3.4/src' gcc
    -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX    -c -o lua.o lua.c lua.c:82:31: fatal error: readline/readline.h: No such
    file or directory  #include 
                                   ^ compilation terminated. make[2]: <strong>* [lua.o] Error 1 make[2]: Leaving directory
    <code>/root/install-package/lua-5.3.4/src' make[1]: *** [linux] Error 2
    make[1]: Leaving directory</code>/root/install-package/lua-5.3.4/src' make:
    *</strong> [linux] Error 2</p>
  </blockquote>
  
  <p>So what do you suggest me to do. Centos 7 has been istalled today. May do I miss to install a dependent a library?</p>
  
  <p>Thank for your help</p>