How To Install mariadb-embedded.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mariadb-embedded.x86_64 in Amazon Linux 2. mariadb-embedded.x86_64 is MariaDB as an embeddable library

Introduction

In this tutorial we learn how to install mariadb-embedded.x86_64 on Amazon Linux 2.

What is mariadb-embedded.x86_64

MariaDB is a multi-user, multi-threaded SQL database server. This package contains a version of the MariaDB server that can be embedded into a client application instead of running as a separate process. MariaDB is a community developed branch of MySQL.

We can use yum to install mariadb-embedded.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mariadb-embedded.x86_64.

Install mariadb-embedded.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mariadb-embedded.x86_64 using yum by running the following command:

sudo yum -y install mariadb-embedded.x86_64

How To Uninstall mariadb-embedded.x86_64 on Amazon Linux 2

To uninstall only the mariadb-embedded.x86_64 package we can use the following command:

sudo yum remove mariadb-embedded.x86_64

mariadb-embedded.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/mysql/libmysqld.so.18
/usr/share/doc/mariadb-embedded-5.5.68
/usr/share/doc/mariadb-embedded-5.5.68/COPYING
/usr/share/doc/mariadb-embedded-5.5.68/COPYING.Google
/usr/share/doc/mariadb-embedded-5.5.68/COPYING.Percona
/usr/share/doc/mariadb-embedded-5.5.68/README
/usr/share/doc/mariadb-embedded-5.5.68/README.mysql-license

References

Summary

In this tutorial we learn how to install mariadb-embedded.x86_64 on Amazon Linux 2 using yum.