How to Install and Uninstall mysql-server Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 23,2024
1. Install "mysql-server" package
Please follow the guidance below to install mysql-server on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
mysql-server
Copied
2. Uninstall "mysql-server" package
Please follow the instructions below to uninstall mysql-server on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
mysql-server
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the mysql-server package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: mysql-server
Architecture: all
Version: 5.7.39-0ubuntu0.18.04.2
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Depends: mysql-server-5.7
Filename: pool/main/m/mysql-5.7/mysql-server_5.7.39-0ubuntu0.18.04.2_all.deb
Size: 9944
MD5sum: d286108cdbca1e55b51d8500b51fa9cd
SHA1: 486c39e8bf2d65bf6d9072df64ef0e09d1f5c22b
SHA256: f51b275ed0511d30a108788e7f7fc553aaa2465986c938c2acb66f71c4b1f451
SHA512: 4eeba9be9c0f4f92a37472f59ea51fbc5367548c83a5a543c6bf683893df96db2b1766596133b6f9b2a6499fbf4b556fd87f920a879a37c93b4cfa5b84a974d9
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: b8b44aa3bf1e86bb2834ded6d9d869b5
Task: lamp-server
Supported: 5y
Package: mysql-server
Architecture: all
Version: 5.7.21-1ubuntu1
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 162
Depends: mysql-server-5.7
Filename: pool/main/m/mysql-5.7/mysql-server_5.7.21-1ubuntu1_all.deb
Size: 9940
MD5sum: d04ea92f904b8ab2fb9131c736aa21e2
SHA1: 981e321230bde35f71e0070284c2339af8b43c59
SHA256: 35963cb109420749d8e2aa2c9eb1eeae2c2fb8bd68d8eb6d7a49822a4c00f7af
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: b8b44aa3bf1e86bb2834ded6d9d869b5
Task: lamp-server
Supported: 5y
Architecture: all
Version: 5.7.39-0ubuntu0.18.04.2
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Depends: mysql-server-5.7
Filename: pool/main/m/mysql-5.7/mysql-server_5.7.39-0ubuntu0.18.04.2_all.deb
Size: 9944
MD5sum: d286108cdbca1e55b51d8500b51fa9cd
SHA1: 486c39e8bf2d65bf6d9072df64ef0e09d1f5c22b
SHA256: f51b275ed0511d30a108788e7f7fc553aaa2465986c938c2acb66f71c4b1f451
SHA512: 4eeba9be9c0f4f92a37472f59ea51fbc5367548c83a5a543c6bf683893df96db2b1766596133b6f9b2a6499fbf4b556fd87f920a879a37c93b4cfa5b84a974d9
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: b8b44aa3bf1e86bb2834ded6d9d869b5
Task: lamp-server
Supported: 5y
Package: mysql-server
Architecture: all
Version: 5.7.21-1ubuntu1
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 162
Depends: mysql-server-5.7
Filename: pool/main/m/mysql-5.7/mysql-server_5.7.21-1ubuntu1_all.deb
Size: 9940
MD5sum: d04ea92f904b8ab2fb9131c736aa21e2
SHA1: 981e321230bde35f71e0070284c2339af8b43c59
SHA256: 35963cb109420749d8e2aa2c9eb1eeae2c2fb8bd68d8eb6d7a49822a4c00f7af
Homepage: http://dev.mysql.com/
Description: MySQL database server (metapackage depending on the latest version)
Description-md5: b8b44aa3bf1e86bb2834ded6d9d869b5
Task: lamp-server
Supported: 5y