yum install zlib-devel cmake -DWITH_READLINE=true -DCMAKE_INSTALL_PREFIX=/usr/local/mariadb . make make install