How to Install and Uninstall mariadb-server Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "mariadb-server" package

Please follow the instructions below to install mariadb-server on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install mariadb-server

2. Uninstall "mariadb-server" package

This guide covers the steps necessary to uninstall mariadb-server on Debian 12 (Bookworm):

$ sudo apt remove mariadb-server $ sudo apt autoclean && sudo apt autoremove

3. Information about the mariadb-server package on Debian 12 (Bookworm)

Package: mariadb-server
Source: mariadb
Version: 1:10.11.6-0+deb12u1
Installed-Size: 53905
Maintainer: Debian MySQL Maintainers
Architecture: amd64
Replaces: handlersocket-mysql-5.5, mariadb-galera-server, mariadb-galera-server-10.0, mariadb-galera-server-5.5, mariadb-server-10.0, mariadb-server-10.1, mariadb-server-10.2, mariadb-server-10.3, mariadb-server-10.4, mariadb-server-10.5 (<< 1:10.11), mariadb-server-10.6, mariadb-server-5.5, mariadb-tokudb-engine-10.0, mariadb-tokudb-engine-10.1, mariadb-tokudb-engine-5.5, mysql-client-5.5, mysql-client-5.7, mysql-client-core-8.0, mysql-server-5.5, mysql-server-5.6, mysql-server-5.7, mysql-server-8.0, percona-server-server-5.6, percona-xtradb-cluster-server-5.6, percona-xtradb-cluster-server-5.7, virtual-mysql-server
Provides: virtual-mysql-server
Depends: galera-4 (>= 26.4), gawk, iproute2, libdbi-perl, lsof, mariadb-client (>= 1:10.11.6-0+deb12u1), mariadb-server-core (>= 1:10.11.6-0+deb12u1), passwd, perl (>= 5.6), procps, psmisc, rsync, socat, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.35), libpam0g (>= 0.99.7.1), libssl3 (>= 3.0.0), libstdc++6 (>= 11), zlib1g (>= 1:1.1.4)
Pre-Depends: adduser (>= 3.40), debconf, mariadb-common (>= 1:10.11.6-0+deb12u1)
Recommends: libhtml-template-perl, mariadb-plugin-provider-bzip2, mariadb-plugin-provider-lz4, mariadb-plugin-provider-lzma, mariadb-plugin-provider-lzo, mariadb-plugin-provider-snappy, pv
Suggests: mailx, mariadb-test, netcat-openbsd
Conflicts: handlersocket-mysql-5.5, mariadb-tokudb-engine-10.0, mariadb-tokudb-engine-10.1, mariadb-tokudb-engine-5.5, mysql-server-core-5.5, mysql-server-core-5.6, mysql-server-core-5.7, mysql-server-core-8.0, percona-server-server-5.6, percona-xtradb-cluster-server-5.6, percona-xtradb-cluster-server-5.7, virtual-mysql-server
Breaks: cqrlog (<< 1.9.0-5~), galera-3 (<< 26.4), handlersocket-mysql-5.5, mariadb-galera-server, mariadb-galera-server-10.0, mariadb-galera-server-5.5, mariadb-server-10.0, mariadb-server-10.1, mariadb-server-10.2, mariadb-server-10.3, mariadb-server-10.4, mariadb-server-10.5 (<< 1:10.11), mariadb-server-10.6, mariadb-server-5.5, mariadb-tokudb-engine-10.0, mariadb-tokudb-engine-10.1, mariadb-tokudb-engine-5.5, mysql-client-5.5, mysql-client-5.7, mysql-client-core-8.0, mysql-server-5.5, mysql-server-5.6, mysql-server-5.7, mysql-server-8.0
Description: MariaDB database server binaries
Description-md5: ae76dbcde4bf3e79b8228e6dad967834
Homepage: https://mariadb.org/
Tag: devel::lang:c++, devel::lang:sql, devel::library, implemented-in::c++,
interface::commandline, interface::daemon, network::server,
protocol::db:mysql, role::devel-lib, role::metapackage, role::program,
works-with::db
Section: database
Priority: optional
Filename: pool/main/m/mariadb/mariadb-server_10.11.6-0+deb12u1_amd64.deb
Size: 3655140
MD5sum: c7bd79eb62b41accb0219eb5944ebb5f
SHA256: 0b189b8dcefe01a845d3cdcf82a03ee7c8c2508f05746b2d5d3e9cb428993056