Installing libmariadbclient-dev --MariaDB client headers and libraries

Install "libmariadbclient-dev" containing MariaDB client headers and libraries with the apt command.

libmariadbclient-dev is required to install DBD::MySQL to connect to the MariaDB server with Perl's DBI.

sudo apt install -y libmariadbclient-dev

For the location of the installed MariaDB client header files and libraries, see Header file read path and Library loading path.

Associated Information