{"id":13814,"date":"2025-04-04T06:26:07","date_gmt":"2025-04-04T06:26:07","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=13814"},"modified":"2025-04-04T06:26:10","modified_gmt":"2025-04-04T06:26:10","slug":"how-to-install-mariadb-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/","title":{"rendered":"How to Install MariaDB on Ubuntu 24.04"},"content":{"rendered":"\n<p><strong>MariaDB <\/strong>is an open-source software that is widely known as an alternative to MySQL. It has many features, including ACID compliance, high performance, and scalability. Users can create and manage databases, along with running SQL queries with ease after installing MariaDB. The goal of installing MariaDB on Ubuntu 24.04 is to provide the system with a powerful and trustworthy relational database management system (RDBMS) for the storage, retrieval, and management of data for several applications.<\/p>\n\n\n\n<p>This article will guide you through the steps of installing or uninstalling MariaDB.<\/p>\n\n\n\n<p><a href=\"#How-to-Install-MariaDB-on-Ubuntu-24.04\">How to Install MariaDB on Ubuntu 24.04?<\/a><\/p>\n\n\n\n<p><a href=\"#How-to-Uninstall-MariaDB-on-Ubuntu-24.04\">How to Uninstall MariaDB on Ubuntu 24.04?<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Install-MariaDB-on-Ubuntu-24.04\"><a id=\"post-13814-_heading=h.l2ei09zfocg2\"><\/a>How to Install MariaDB on Ubuntu 24.04?<\/h2>\n\n\n\n<p>No matter what web applications you\u2019re building, whether you require a content management system or any other software that supports a database, MariaDB can support all of your needs.<\/p>\n\n\n\n<p><a href=\"#Method-1:-Using-the-Ubuntu-Default-Repository\">Method 1: Using the Ubuntu Default Repository<\/a><\/p>\n\n\n\n<p><a href=\"#Method-2:-Using-the-MariaDB-Repository\">Method 2: Using the MariaDB Repository<\/a><\/p>\n\n\n\n<p>Let\u2019s start with the simpler method first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-1:-Using-the-Ubuntu-Default-Repository\"><a id=\"post-13814-_heading=h.fxd9t41fsifi\"><\/a>Method 1: Using the Ubuntu Default Repository<\/h2>\n\n\n\n<p>Here are the steps to install MariaDB on Ubuntu 24.04 by utilizing the Ubuntu repository:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.p4y6fltflbd3\"><\/a>Step 1: Updating the Package Index<\/h3>\n\n\n\n<p>To use the Ubuntu default repository, users first need to update the system repository to update the package index by utilizing the apt command.<\/p>\n\n\n\n<pre>sudo apt update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1234\" height=\"429\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-1.png\" alt=\"sudo apt update\" class=\"wp-image-13815\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-1.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-1-300x104.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-1-1024x356.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-1-768x267.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.hv9mp88s6gb4\"><\/a>Step 2: Install the mariadb-server Package<\/h3>\n\n\n\n<p>Now, use the apt command to install the mariadb-server package as a sudo user.<\/p>\n\n\n\n<pre>sudo apt install mariadb-server<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1232\" height=\"617\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-2.png\" alt=\"sudo apt install mariadb-server\" class=\"wp-image-13816\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-2.png 1232w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-2-300x150.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-2-1024x513.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-2-768x385.png 768w\" sizes=\"(max-width: 1232px) 100vw, 1232px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.uop1mm5hurn4\"><\/a>Step 3: Securing MariaDB Installation<\/h3>\n\n\n\n<p>Execute the <strong>mysql_secure_installation <\/strong>script to limit access permissions to the server, and improve security after installation. This script walks users through a few prompts that help dictate how secure the MariaDB Installation would be:<\/p>\n\n\n\n<pre>sudo mysql_secure_installation<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1234\" height=\"671\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-3.png\" alt=\"sudo mysql_secure_installation\" class=\"wp-image-13817\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-3.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-3-300x163.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-3-1024x557.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-3-768x418.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>While executing the script, a prompt will come up that will require you to set a current database password that needs to be assigned to the root user. If users haven\u2019t set one yet, users can just hit <strong>ENTER <\/strong>to mean none. Other security options will also be made available for you as the script guides you.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1238\" height=\"789\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-4.png\" alt=\"sudo mysql_secure_installation\" class=\"wp-image-13818\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-4.png 1238w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-4-300x191.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-4-1024x653.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-4-768x489.png 768w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.87oep9jo3tsm\"><\/a>Step 4: Verification of the MariaDB Installation<\/h3>\n\n\n\n<p>To confirm, log in to the MariaDB shell under the root user and provide the password.<\/p>\n\n\n\n<pre>sudo mysql -u root -p<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1238\" height=\"451\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-5.png\" alt=\"sudo mysql -u root -p\" class=\"wp-image-13819\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-5.png 1238w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-5-300x109.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-5-1024x373.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-5-768x280.png 768w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.x1mznrm00jxw\"><\/a>Optional: Updating MariaDB on Ubuntu 24.04<\/h3>\n\n\n\n<p>In order to install or upgrade to the latest version of MariaDB on Ubuntu, the system packages should be updated, the MariaDB APT repository should be added, followed by installing the <strong>MariaDB11.0 server\/ client<\/strong>. After that, a secure installation of the MariaDB, followed by a test for the installation.<\/p>\n\n\n\n<pre>sudo mariadb-upgrade<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1238\" height=\"232\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-6.png\" alt=\"sudo mariadb-upgrade\" class=\"wp-image-13820\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-6.png 1238w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-6-300x56.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-6-1024x192.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-6-768x144.png 768w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Users can also upgrade by employing the \u201c<strong>mariadb-upgrade<\/strong>\u201d command. This is taken from method 1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-2:-Using-the-MariaDB-Repository\"><a id=\"post-13814-_heading=h.c14hdr4rdcw0\"><\/a>Method 2: Using the MariaDB Repository<\/h2>\n\n\n\n<p>In order to upgrade to the newest MariaDB version for Ubuntu 24.04, the official fare is recommended. This is how you install MariaDB on Ubuntu 24.04 using the MariaDB repository:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.nztq3ot76wgn\"><\/a>Step 1: Update Package list<\/h3>\n\n\n\n<p>In this case, make sure your system packages list is up-to-date so you are using the most recent version.<\/p>\n\n\n\n<pre>sudo apt update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"429\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-7.png\" alt=\"sudo apt update\" class=\"wp-image-13821\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-7.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-7-300x104.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-7-1024x356.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-7-768x267.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.de6kk3e01ej3\"><\/a>Step 2: Install Software Properties<\/h3>\n\n\n\n<p>Users are now prompted to install the sister package which is crucial for adding the new repositories.<\/p>\n\n\n\n<pre>sudo apt install software-properties-common<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1245\" height=\"548\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-8.png\" alt=\"sudo apt install software-properties-common\" class=\"wp-image-13822\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-8.png 1245w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-8-300x132.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-8-1024x451.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-8-768x338.png 768w\" sizes=\"(max-width: 1245px) 100vw, 1245px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.sa1sy51r7d4\"><\/a>Step 3: Import the MariaDB GPG Key<\/h3>\n\n\n\n<p>Use the \u201capt-key\u201d command to import the MariaDB GPG Key to check the repository\u2019s authenticity.<\/p>\n\n\n\n<pre>sudo apt-key adv --fetch-keys 'https:\/\/mariadb.org\/mariadb_release_signing_key.asc'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1244\" height=\"452\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-9.png\" alt=\"sudo apt-key adv --fetch-keys 'https:\/\/mariadb.org\/mariadb_release_signing_key.asc'\" class=\"wp-image-13823\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-9.png 1244w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-9-300x109.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-9-1024x372.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-9-768x279.png 768w\" sizes=\"(max-width: 1244px) 100vw, 1244px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.20xg16li86cc\"><\/a>Step 4: Add the MariaDB Repository<\/h3>\n\n\n\n<p>Now, append the MariaDB repository to the system. For this purpose, you must substitute \u201c11.2.3\u201d with the version you like to install:<\/p>\n\n\n\n<pre>sudo add-apt-repository 'deb [arch=amd64] http:\/\/mariadb.mirror.globo.tech\/repo\/11.2.3\/ubuntu jammy main'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1242\" height=\"606\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-10.png\" alt=\"sudo add-apt-repository 'deb [arch=amd64] http:\/\/mariadb.mirror.globo.tech\/repo\/11.2.3\/ubuntu jammy main'\" class=\"wp-image-13824\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-10.png 1242w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-10-300x146.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-10-1024x500.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-10-768x375.png 768w\" sizes=\"(max-width: 1242px) 100vw, 1242px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Note: <\/strong>Should the Ubuntu version have a different codename, the \u201c<strong>jammy<\/strong>\u201d could be substituted in the repository line. If the codename is not recognized automatically, substitute <strong>$(lsb_release -cs) <\/strong>with the codename of the Ubuntu version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.s9lmqcfbcg6o\"><\/a>Step 5: Update Packages List<\/h3>\n\n\n\n<p>To enable installation of the MariaDB from the included repository, update the package\u2019s indexing:<\/p>\n\n\n\n<pre>sudo apt update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"429\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-11.png\" alt=\"sudo apt update\" class=\"wp-image-13825\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-11.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-11-300x104.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-11-1024x356.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-11-768x267.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.nwomp83wdtfy\"><\/a>Step 6: Install MariaDB Server<\/h3>\n\n\n\n<p>Now, users can download the MariaDB server and client packages from the official repository for MariaDB:<\/p>\n\n\n\n<pre>sudo apt install mariadb-server mariadb-client<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1235\" height=\"342\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-12.png\" alt=\"sudo apt install mariadb-server mariadb-client\" class=\"wp-image-13826\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-12.png 1235w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-12-300x83.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-12-1024x284.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-12-768x213.png 768w\" sizes=\"(max-width: 1235px) 100vw, 1235px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.pbntx0pv00cc\"><\/a>Step 7: Secure MariaDB Installation (optional but recommended)<\/h3>\n\n\n\n<p>In this step, run the script to assign a root password. The following script will prompt users for additional security measures that may be taken as well:<\/p>\n\n\n\n<pre>sudo mysql_secure_installation<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"671\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-13.png\" alt=\"sudo mysql_secure_installation\" class=\"wp-image-13827\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-13.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-13-300x163.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-13-1024x557.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-13-768x418.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.amliz8i9k6\"><\/a>Step 8: Verify Installation<\/h3>\n\n\n\n<p>Now, confirm that the installed MariaDB is operational. To do so, review the status of the MariaDB service:<\/p>\n\n\n\n<pre>sudo systemctl status mariadb<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"614\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-14.png\" alt=\"sudo systemctl status mariadb\" class=\"wp-image-13828\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-14.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-14-300x149.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-14-1024x510.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-14-768x382.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Alternatively, the users may use the mysql command to connect to the MariaDB as follows:<\/p>\n\n\n\n<pre>sudo mysql -u root -p<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1238\" height=\"451\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-15.png\" alt=\"sudo mysql -u root -p\" class=\"wp-image-13829\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-15.png 1238w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-15-300x109.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-15-1024x373.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-15-768x280.png 768w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>That would be all for this procedure for the most recent version of MariaDB.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Uninstall-MariaDB-on-Ubuntu-24.04\"><a id=\"post-13814-_heading=h.c1qbqdxhncvg\"><\/a>How to Uninstall MariaDB on Ubuntu 24.04?<\/h2>\n\n\n\n<p>In order to delete MariaDB from Ubuntu 24.04, users may run the command \u2018auto-remove\u2019 like so:<\/p>\n\n\n\n<pre>sudo apt autoremove mariadb-server mariadb-client --purge -y # For Removing Packages <br>sudo add-apt-repository --r 'deb [arch=amd64] http:\/\/mariadb.mirror.globo.tech\/repo\/11.2.3\/ubuntu jammy main' # For Removing Repository<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1236\" height=\"551\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-16.png\" alt=\"sudo add-apt-repository --r 'deb [arch=amd64] http:\/\/mariadb.mirror.globo.tech\/repo\/11.2.3\/ubuntu jammy main'\" class=\"wp-image-13830\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-16.png 1236w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-16-300x134.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-16-1024x456.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/word-image-13814-16-768x342.png 768w\" sizes=\"(max-width: 1236px) 100vw, 1236px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This will delete the server components alongside the client components for MariaDB.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-13814-_heading=h.n80fa7je3ujs\"><\/a>Conclusion<\/h2>\n\n\n\n<p>To download and set up MariaDB on Ubuntu 24.04, one needs to first update the package index and then install the MariaDB server package by executing \u201c<strong>sudo apt install mariadb-server<\/strong>\u201d. To make the system secure then one must run the \u201c<strong>mysql_secure_installation<\/strong>\u201d script after the installation is done alongside configuring MariaDB.<\/p>\n\n\n\n<p>In order to get the latest version of MariaDB on Ubuntu 24.04, the MariaDB repository needs to be added then the mariadb-server and mariadb-client packages need to be installed for them to be used. To access\/start MariaDB as a newly added user, run the command \u201c<strong>mysql -u myuser -p<\/strong>\u201d. Thereafter, enter the password of the user. This is how users are able to create tables, add some data, and execute SQL statements in the database.<\/p>\n\n\n\t\t\t\t\t\t\t<h3 style=\"margin-bottom:20px;display:block;width:100%;margin-top:10px\">Frequently Asked Questions <\/h3>\r\n\t\t\t\t\t\t<style>\r\n\t\t\t\t<style>\r\n#wpsm_accordion_13973 .wpsm_panel-heading{\r\n\tpadding:0px !important;\r\n}\r\n#wpsm_accordion_13973 .wpsm_panel-title {\r\n\tmargin:0px !important; \r\n\ttext-transform:none !important;\r\n\tline-height: 1 !important;\r\n}\r\n#wpsm_accordion_13973 .wpsm_panel-title a{\r\n\ttext-decoration:none;\r\n\toverflow:hidden;\r\n\tdisplay:block;\r\n\tpadding:0px;\r\n\tfont-size: 18px !important;\r\n\tfont-family: Open Sans !important;\r\n\tcolor:#000000 !important;\r\n\tborder-bottom:0px !important;\r\n}\r\n\r\n#wpsm_accordion_13973 .wpsm_panel-title a:focus {\r\noutline: 0px !important;\r\n}\r\n\r\n#wpsm_accordion_13973 .wpsm_panel-title a:hover, #wpsm_accordion_13973 .wpsm_panel-title a:focus {\r\n\tcolor:#000000 !important;\r\n}\r\n#wpsm_accordion_13973 .acc-a{\r\n\tcolor: #000000 !important;\r\n\tbackground-color:#e8e8e8 !important;\r\n\tborder-color: #ddd;\r\n}\r\n#wpsm_accordion_13973 .wpsm_panel-default > .wpsm_panel-heading{\r\n\tcolor: #000000 !important;\r\n\tbackground-color: #e8e8e8 !important;\r\n\tborder-color: #e8e8e8 !important;\r\n\tborder-top-left-radius: 0px;\r\n\tborder-top-right-radius: 0px;\r\n}\r\n#wpsm_accordion_13973 .wpsm_panel-default {\r\n\t\tborder:1px solid transparent !important;\r\n\t}\r\n#wpsm_accordion_13973 {\r\n\tmargin-bottom: 20px;\r\n\toverflow: hidden;\r\n\tfloat: none;\r\n\twidth: 100%;\r\n\tdisplay: block;\r\n}\r\n#wpsm_accordion_13973 .ac_title_class{\r\n\tdisplay: block;\r\n\tpadding-top: 12px;\r\n\tpadding-bottom: 12px;\r\n\tpadding-left: 15px;\r\n\tpadding-right: 15px;\r\n}\r\n#wpsm_accordion_13973  .wpsm_panel {\r\n\toverflow:hidden;\r\n\t-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\tbox-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\t\tborder-radius: 4px;\r\n\t}\r\n#wpsm_accordion_13973  .wpsm_panel + .wpsm_panel {\r\n\t\tmargin-top: 5px;\r\n\t}\r\n#wpsm_accordion_13973  .wpsm_panel-body{\r\n\tbackground-color:#ffffff !important;\r\n\tcolor:#000000 !important;\r\n\tborder-top-color: #e8e8e8 !important;\r\n\tfont-size:16px !important;\r\n\tfont-family: Open Sans !important;\r\n\toverflow: hidden;\r\n\t\tborder: 2px solid #e8e8e8 !important;\r\n\t}\r\n\r\n#wpsm_accordion_13973 .ac_open_cl_icon{\r\n\tbackground-color:#e8e8e8 !important;\r\n\tcolor: #000000 !important;\r\n\tfloat:right !important;\r\n\tpadding-top: 12px !important;\r\n\tpadding-bottom: 12px !important;\r\n\tline-height: 1.0 !important;\r\n\tpadding-left: 15px !important;\r\n\tpadding-right: 15px !important;\r\n\tdisplay: inline-block !important;\r\n}\r\n\r\n\t\t\t\r\n\t\t\t<\/style>\t\r\n\t\t\t<\/style>\r\n\t\t\t<div class=\"wpsm_panel-group\" id=\"wpsm_accordion_13973\" >\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13973 \" href=\"javascript:void(0)\" data-target=\"#ac_13973_collapse1\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tWhat is MariaDB?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13973_collapse1\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tMariaDB is an open-source relational database management system (RDBMS) and a popular drop-in replacement for MySQL. It's known for its high performance, stability, and security.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13973 \" href=\"javascript:void(0)\" data-target=\"#ac_13973_collapse2\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I install MariaDB on Ubuntu 24.04?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13973_collapse2\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tYou can install MariaDB on Ubuntu 24.04 by running the command: <code>sudo apt update &amp;&amp;\r\nsudo apt install mariadb-server<\/code>\r\n\r\n\r\n\r\n\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13973 \" href=\"javascript:void(0)\" data-target=\"#ac_13973_collapse3\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tDo I need to configure MariaDB after installation?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13973_collapse3\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tYes, you should secure the installation using:\r\n<code>sudo mysql_secure_installation<\/code>\r\n\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13973 \" href=\"javascript:void(0)\" data-target=\"#ac_13973_collapse4\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I check if MariaDB is running?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13973_collapse4\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tTo check if MariaDB is running, use the following command:<code>sudo systemctl status mariadb<\/code>\r\n\r\n\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13973 \" href=\"javascript:void(0)\" data-target=\"#ac_13973_collapse5\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I enable MariaDB to start on boot?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13973_collapse5\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tTo enable MariaDB to start automatically at boot, use this command:<code>sudo systemctl enable mariadb<\/code>\r\n\r\n\r\n\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\r\n<script type=\"text\/javascript\">\r\n\t\r\n\t\tfunction do_resize(){\r\n\r\n\t\t\tvar width=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).width();\r\n\t\t\tvar height=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).height();\r\n\r\n\t\t\tvar toggleSize = true;\r\n\t\t\tjQuery('iframe').animate({\r\n\t\t\t    width: toggleSize ? width : 640,\r\n\t\t\t    height: toggleSize ? height : 360\r\n\t\t\t  }, 250);\r\n\r\n\t\t\t  toggleSize = !toggleSize;\r\n\t\t}\r\n\t\t\r\n<\/script>\t\n\n\n\n<p><\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>MariaDB is an open-source software that is widely known as an alternative to MySQL. It has many features, including ACID compliance, high performance, and scalability. Users can create and manage databases, along with running SQL queries with ease after installing MariaDB. The goal of installing MariaDB on Ubuntu 24.04 is to provide the system with [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":13975,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[520,601,745,746,317],"class_list":["post-13814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-databases","tag-mariadb","tag-rdbms","tag-sql","tag-ubuntu-24-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install MariaDB on Ubuntu 24.04 - Greenwebpage Community<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install MariaDB on Ubuntu 24.04 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"MariaDB is an open-source software that is widely known as an alternative to MySQL. It has many features, including ACID compliance, high performance, and scalability. Users can create and manage databases, along with running SQL queries with ease after installing MariaDB. The goal of installing MariaDB on Ubuntu 24.04 is to provide the system with [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-04T06:26:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-04T06:26:10+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install MariaDB on Ubuntu 24.04\",\"datePublished\":\"2025-04-04T06:26:07+00:00\",\"dateModified\":\"2025-04-04T06:26:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\"},\"wordCount\":863,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg\",\"keywords\":[\"Databases\",\"MariaDB\",\"RDBMS\",\"SQL\",\"Ubuntu 24.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\",\"name\":\"How to Install MariaDB on Ubuntu 24.04 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg\",\"datePublished\":\"2025-04-04T06:26:07+00:00\",\"dateModified\":\"2025-04-04T06:26:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg\",\"width\":1020,\"height\":600,\"caption\":\"Install MariaDB on Ubuntu 24.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install MariaDB on Ubuntu 24.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install MariaDB on Ubuntu 24.04 - Greenwebpage Community","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install MariaDB on Ubuntu 24.04 - Greenwebpage Community","og_description":"MariaDB is an open-source software that is widely known as an alternative to MySQL. It has many features, including ACID compliance, high performance, and scalability. Users can create and manage databases, along with running SQL queries with ease after installing MariaDB. The goal of installing MariaDB on Ubuntu 24.04 is to provide the system with [&hellip;]","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-04-04T06:26:07+00:00","article_modified_time":"2025-04-04T06:26:10+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install MariaDB on Ubuntu 24.04","datePublished":"2025-04-04T06:26:07+00:00","dateModified":"2025-04-04T06:26:10+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/"},"wordCount":863,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg","keywords":["Databases","MariaDB","RDBMS","SQL","Ubuntu 24.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/","name":"How to Install MariaDB on Ubuntu 24.04 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg","datePublished":"2025-04-04T06:26:07+00:00","dateModified":"2025-04-04T06:26:10+00:00","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/04\/Install-MariaDB-on-Ubuntu-24.04.jpg","width":1020,"height":600,"caption":"Install MariaDB on Ubuntu 24.04"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install MariaDB on Ubuntu 24.04"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/13814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=13814"}],"version-history":[{"count":3,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/13814\/revisions"}],"predecessor-version":[{"id":13974,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/13814\/revisions\/13974"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/13975"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=13814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=13814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=13814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}