How to install MariaDB 10 on Ubuntu 18.04

MariaDB is the fork of MySQL and backward compatible replacement for MySQL. Here in this tutorial, we are going to show you how to install MariaDB 10 on Ubuntu server in the following ways:

1. Install MariaDB from Ubuntu PPA
2. Install MariaDB from Official Repository.

In Ubuntu 18.04’s main repository by default contains repository for MariaDB. So the first way is recommended by us to install MariaDB.