Installing MariaDB

Run below command to install MariaDB

sudo apt install mariadb-server

Securing MariaDB (animation)

sudo mysql_secure_installation

This is an important step, you will have to press enter the first time you are asked for the admin password since it hasn’t been configured yet, you’ll have to enter the admin password later in this installation process, take a look a below animation.

Check the Status of MariaDB

systemctl status mariadb

Check the current version of MariaDB

sudo mysqladmin version

Where to go next

Now that you have MariaDB installed in your system you can proceed to the next step that is creating your first Database.