I tried to install mariadb 10.2 using default red hat 7 repository. but as it seems there only available upto mariadb 10.1. when I googled, lot of articles were there and all are saying "in order to install MariaDB 10.2 you have to add MariaDB repositories". but my concern here is MariaDB does not guarantee for the security patches and bug fixes, even they said that they will be providing the support for five years since the day of any particular version is released. But as per my understanding if redhat default repository had this MariaDB 10.2, then red hat will take care of the maintenance until the corresponding redhat os version is deprecated. So anyone knows whether RedHat is gonna add the MariaDB 10.2 into their repo or not? please correct me if I'm wrong in my statement. thanks in advance


As per MariaDB documentation, you can do that with the following steps:

  1. Create a file called mariadb.repo under the path /etc/yum.repos.d/
  2. Paste the following inside:

    name = MariaDB
    baseurl = http://yum.mariadb.org/10.2/rhel7-amd64

  3. Proceed with the installation yum install MariaDB-server MariaDB-client

Please refer to the following link for more info:


I hope this helps.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.