How to Install and Uninstall mysql-server Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 26,2024
Notice
You can also install and uninstall the mysql-server on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "mysql-server" package
Please follow the step by step instructions below to install mysql-server on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
mysql-server
Copied
2. Uninstall "mysql-server" package
Please follow the steps below to uninstall mysql-server on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
mysql-server
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the mysql-server package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: mysql-server
Architecture: all
Version: 8.0.36-0ubuntu0.22.04.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: 35
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.36-0ubuntu0.22.04.1_all.deb
Size: 9460
MD5sum: 9132fabf84bdfd9d6b8d4d19f19b79e4
SHA1: dbbbe83b6cb6e37d836905fbf6c6c4ef7f9e6a22
SHA256: 7deefb96564c64f620d1d7a405585cce16344f6c4c2909653047b8fd742806f9
SHA512: a6cecb50be593b8b2be03c6184a49f2d93af6fd81f1800318fcac2949acefbcb3c0c1a0ea8fc6f137a32ab3900ef5e75f65c5f1a079f7bc8b92ea11422bc9c27
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server
Package: mysql-server
Architecture: all
Version: 8.0.28-0ubuntu4
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: 108
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.28-0ubuntu4_all.deb
Size: 9526
MD5sum: 857b128954f70d91fc03f107ddbadcf4
SHA1: 4709e34552c5ce9cdd122888a8717c06c759961b
SHA256: 34497d09971397c3797caa77a992418940bc8068cc72fb5f767671133811947e
SHA512: b2d28887f4ad4359852ecf79253803f87c5095a12f97771a969586193c193b22ab5184a77890460ef7daa29b17211e3339576ad024946f2d1b70b276a7b6c216
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server
Architecture: all
Version: 8.0.36-0ubuntu0.22.04.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: 35
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.36-0ubuntu0.22.04.1_all.deb
Size: 9460
MD5sum: 9132fabf84bdfd9d6b8d4d19f19b79e4
SHA1: dbbbe83b6cb6e37d836905fbf6c6c4ef7f9e6a22
SHA256: 7deefb96564c64f620d1d7a405585cce16344f6c4c2909653047b8fd742806f9
SHA512: a6cecb50be593b8b2be03c6184a49f2d93af6fd81f1800318fcac2949acefbcb3c0c1a0ea8fc6f137a32ab3900ef5e75f65c5f1a079f7bc8b92ea11422bc9c27
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server
Package: mysql-server
Architecture: all
Version: 8.0.28-0ubuntu4
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: 108
Depends: mysql-server-8.0
Filename: pool/main/m/mysql-8.0/mysql-server_8.0.28-0ubuntu4_all.deb
Size: 9526
MD5sum: 857b128954f70d91fc03f107ddbadcf4
SHA1: 4709e34552c5ce9cdd122888a8717c06c759961b
SHA256: 34497d09971397c3797caa77a992418940bc8068cc72fb5f767671133811947e
SHA512: b2d28887f4ad4359852ecf79253803f87c5095a12f97771a969586193c193b22ab5184a77890460ef7daa29b17211e3339576ad024946f2d1b70b276a7b6c216
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: 743caadb7bcc9923a15d886cf7260d23
Task: lamp-server