- Ubuntu
- Package management
- here
Installing libmariadb-dev --MariaDB server headers and libraries
Install "libmariadb-dev" containing MariaDB server headers and libraries with the apt command.
sudo apt install -y libmariadb-dev
For the location of the installed MariaDB database header files and libraries, see Header file read path and Library loading path.
Note
This procedure was performed to install Perl's DBD::MySQL, but to install Perl's DBD::MySQL, instead of "libmariadb-dev", the MariaDB client header and library " It turns out that libmariadbclient-dev "is needed.