How to Install and Uninstall mariadb-server Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "mariadb-server" package

Please follow the step by step instructions below to install mariadb-server on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install mariadb-server

2. Uninstall "mariadb-server" package

This guide let you learn how to uninstall mariadb-server on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the mariadb-server package on Ubuntu 20.04 LTS (Focal Fossa)

Package: mariadb-server
Architecture: all
Version: 1:10.3.39-0ubuntu0.20.04.2
Priority: optional
Section: universe/database
Source: mariadb-10.3
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68
Depends: mariadb-server-10.3 (>= 1:10.3.39-0ubuntu0.20.04.2)
Filename: pool/universe/m/mariadb-10.3/mariadb-server_10.3.39-0ubuntu0.20.04.2_all.deb
Size: 12672
MD5sum: 90f44d55df6b7799c7273f9272b1b104
SHA1: 3f7236c760f685ea34b127e7b94c88224570717f
SHA256: 5e1d8d0627a09670970c493a13731378b121c3ef37d10b5b15654921715a7d34
SHA512: 4a38a0eb3083144f3d9f77ef2d867af769747703733bf1a14cd61293160b6b97ca6da9f45ee9bfb43857068c464d8ef0246f8606411f89d199d04c674f9da0ec
Homepage: https://mariadb.org/
Description: MariaDB database server (metapackage depending on the latest version)
Description-md5: 47753d361ef73aaa0d808a49d4717d3f

Package: mariadb-server
Architecture: all
Version: 1:10.3.22-1ubuntu1
Priority: optional
Section: universe/database
Source: mariadb-10.3
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67
Depends: mariadb-server-10.3 (>= 1:10.3.22-1ubuntu1)
Filename: pool/universe/m/mariadb-10.3/mariadb-server_10.3.22-1ubuntu1_all.deb
Size: 12668
MD5sum: 1f0c8ce00eef2cee35d185e234c44d93
SHA1: 5f8cc3e3f8864fb91cd99e0e9e5cf2a640266be9
SHA256: d0f4f01f6f86fd21c28e0d8f3de69d97890bff8b49a77601ad3a76177a548f6b
Homepage: https://mariadb.org/
Description: MariaDB database server (metapackage depending on the latest version)
Description-md5: 47753d361ef73aaa0d808a49d4717d3f