add lua 5.1 build instructions

This commit is contained in:
cen1 2020-10-05 18:01:26 +02:00 committed by GitHub
parent 0d945bd202
commit 987ba4c42c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,11 +74,11 @@ apt install -y postgresql libpq-dev # PostgreSQL support
#### CentOS 8
```
dnf install gcc-c++ make git cmake zlib-devel
# Lua 5.1 must be compiled and installed from source.
dnf install mysql-server mysql-devel
dnf install sqlite-devel
dnf install postgresql
dnf -y install wget gcc-c++ make git cmake zlib-devel libcurl-devel
dnf -y install readline-devel && wget -c https://www.lua.org/ftp/lua-5.1.5.tar.gz -O - | tar -xz && cd lua-5.1.5 && make linux && make install # Lua 5.1 must be compiled and installed from source. Newer version not supported yet.
dnf -y install mysql-server mysql-devel
dnf -y install sqlite-devel
dnf -y install postgresql
```
##### CentOS 7