See this to enable repo:
https://computingforgeeks.com/how-to-install-mariadb-on-centos/
Then run:
[root@database-rhel79 yum.repos.d]# yum install http://yum.mariadb.org/10.4/rhel7-amd64/rpms/MariaDB-server-10.4.18-1.el7.centos.x86_64.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
MariaDB-server-10.4.18-1.el7.centos.x86_64.rpm | 26 MB 00:00:09
Examining /var/tmp/yum-root-b_3UJu/MariaDB-server-10.4.18-1.el7.centos.x86_64.rpm: MariaDB-server-10.4.18-1.el7.centos.x86_64
Marking /var/tmp/yum-root-b_3UJu/MariaDB-server-10.4.18-1.el7.centos.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-server.x86_64 0:10.4.18-1.el7.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
MariaDB-server x86_64 10.4.18-1.el7.centos /MariaDB-server-10.4.18-1.el7.centos.x86_64 127 M
Transaction Summary
==============================================================================================================================================================================================
Install 1 Package
Total size: 127 M
Installed size: 127 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : MariaDB-server-10.4.18-1.el7.centos.x86_64 1/1
Verifying : MariaDB-server-10.4.18-1.el7.centos.x86_64 1/1
Installed:
MariaDB-server.x86_64 0:10.4.18-1.el7.centos
Complete!
http://mirror.mariadb.org/yum/10.6/rhel8-amd64/rpms/MariaDB-server-10.6.15-1.el8.x86_64.rpm
ReplyDelete