How to Install and Uninstall mariadb-server Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 05,2024

1. Install "mariadb-server" package

This tutorial shows how to install mariadb-server on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mariadb-server

2. Uninstall "mariadb-server" package

This tutorial shows how to uninstall mariadb-server on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the mariadb-server package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: mariadb-server
Architecture: all
Version: 10.0.38-0ubuntu0.16.04.1
Priority: optional
Section: universe/database
Source: mariadb-10.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 61
Depends: mariadb-server-10.0 (>= 10.0.38-0ubuntu0.16.04.1)
Filename: pool/universe/m/mariadb-10.0/mariadb-server_10.0.38-0ubuntu0.16.04.1_all.deb
Size: 13102
MD5sum: 7d99013b4681f7f26ca7ef3c973c2d51
SHA1: 4011d7ebe6ef695a339a8d59c3d1156e0c5eb112
SHA256: a4d7b884963bb5c07172faf7970489bbf41568e5d99cd72efdb01c5e0d48f431
SHA512: bdd8339b82798a5071adbb752adb56818b7f252fa8951d46c85e10bff5da59fb90b514ed2c5c6959269e639777232f65c658982ebc131fb90e6265b00edb8b5a
Homepage: http://mariadb.org/
Description-en: MariaDB database server (metapackage depending on the latest version)
This is an empty package that depends on the current "best" version of
mariadb-server (currently mariadb-server-10.0), as determined by the MariaDB
maintainers. Install this package if in doubt about which MariaDB
version you need. That will install the version recommended by the
package maintainers.
.
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and
ease of use.
Description-md5: 184dec3a9fb41c1cd31a78f54fa02394

Package: mariadb-server
Priority: optional
Section: universe/database
Installed-Size: 60
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Architecture: all
Source: mariadb-10.0
Version: 10.0.24-7
Depends: mariadb-server-10.0 (>= 10.0.24-7)
Filename: pool/universe/m/mariadb-10.0/mariadb-server_10.0.24-7_all.deb
Size: 13100
MD5sum: dfbc169e861a647d791dbf57257be918
SHA1: c36175ede48245d6f9b388779e4f33e2f9012ef4
SHA256: dab1590889919b038e4c99f1bbf7bb05904c5ddb9053bce7745fe495f128828e
Description-en: MariaDB database server (metapackage depending on the latest version)
This is an empty package that depends on the current "best" version of
mariadb-server (currently mariadb-server-10.0), as determined by the MariaDB
maintainers. Install this package if in doubt about which MariaDB
version you need. That will install the version recommended by the
package maintainers.
.
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and
ease of use.
Description-md5: 184dec3a9fb41c1cd31a78f54fa02394
Homepage: http://mariadb.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu