How to Install and Uninstall default-mysql-server Package on Debian 12 (Bookworm)
Last updated: February 24,2025
Notice
You can also install and uninstall the default-mysql-server on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "default-mysql-server" package
In this section, we are going to explain the necessary steps to install default-mysql-server on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
default-mysql-server
Copied
2. Uninstall "default-mysql-server" package
Please follow the step by step instructions below to uninstall default-mysql-server on Debian 12 (Bookworm):
$
sudo apt remove
default-mysql-server
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the default-mysql-server package on Debian 12 (Bookworm)
Package: default-mysql-server
Source: mysql-defaults
Version: 1.1.0
Installed-Size: 9
Maintainer: Debian MySQL Maintainers
Architecture: all
Depends: mariadb-server
Breaks: mysql-server (<< 5.7)
Description: MySQL database server binaries and system database setup (metapackage)
Description-md5: 9550a987565ff8657fc9f699871795c3
Section: database
Priority: optional
Filename: pool/main/m/mysql-defaults/default-mysql-server_1.1.0_all.deb
Size: 2860
MD5sum: b812b9e975fa58c04962255559327c51
SHA256: d0996fd144bcc72c87184d295efac841fedcf26678b5800bb820ab9824ead77d
Source: mysql-defaults
Version: 1.1.0
Installed-Size: 9
Maintainer: Debian MySQL Maintainers
Architecture: all
Depends: mariadb-server
Breaks: mysql-server (<< 5.7)
Description: MySQL database server binaries and system database setup (metapackage)
Description-md5: 9550a987565ff8657fc9f699871795c3
Section: database
Priority: optional
Filename: pool/main/m/mysql-defaults/default-mysql-server_1.1.0_all.deb
Size: 2860
MD5sum: b812b9e975fa58c04962255559327c51
SHA256: d0996fd144bcc72c87184d295efac841fedcf26678b5800bb820ab9824ead77d