Get, Build and Test Latest MariaDB the Lazy Way
Install all tools needed to build MariaDB
OpenSuse
sudo zypper install git gcc gcc-c++ make bison ncurses ncurses-devel zlib-devel libevent-devel cmake openssl
Debian
apt install -y build-essential bison libgnutls28-dev apt build-dep mariadb-server
Set Up git
git clone https://github.com/MariaDB/server.git mariadb cd mariadb git checkout 10.5
Build It
cmake . -DBUILD_CONFIG=mysql_release && make -j8
Check the Server (If You Want To)
cd mysql-test ./mtr --parallel=8 --force
Install the Default Databases
./scripts/mariadb-install-db --srcdir=.
Install the Server (If needed)
make install
Start the Server
/usr/sbin/mysqld