There are multiple distributions of Linux, so the installation process may vary depending on the specific one you’re using. Here’s an example of how to install MariaDB on Ubuntu:
1. First, make sure that your package lists are updated by running the following command:
```
sudo apt-get update
```
1. Then, you can install MariaDB with the following command:
```
sudo apt-get install mariadb-server
```
3. After the installation process has finished, you should secure your MariaDB installation by running the following command:
```shell
sudo mysql_secure_installation
```
During this process, you’ll be prompted to define the MariaDB root password, remove anonymous users, disallow remote root login, remove the test database, and reload privilege tables.
Additional steps might need to be taken depending on which Linux distribution you’re using. Therefore, it’s a good idea to look up instructions specific to your distribution, or consult the official MariaDB documentation.