How to Install and Uninstall mysql-server Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 24,2024

1. Install "mysql-server" package

This guide covers the steps necessary to install mysql-server on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install mysql-server

2. Uninstall "mysql-server" package

Here is a brief guide to show you how to uninstall mysql-server on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the mysql-server package on Ubuntu 24.04 LTS (Noble Numbat)

Package: mysql-server
Architecture: all
Version: 8.0.36-1
Priority: optional
Section: database
Source: mysql-8.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.36-1_all.deb
Size: 9512
MD5sum: b599c781742c11cf31ed516876f870d4
SHA1: 8dc028fba3212a0f2120cf18fc6426cf23f53e68
SHA256: cb081041f0f749dcf822c5eb0e6183cebe8df4c79fe170b3409f6d85e035462a
SHA512: a9ee17b7744a18ceb9e7716b7913e0b58c8a192d3da7f228e4d09f91e4d89a4afa69a333deb80292fe20dac72b12108913275a7e056dc4e04bbee6423a82bf39
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server