Process of Installing MariaDB on Ubuntu 22.04
To install MariaDB on the Ubuntu 22.04 system, you have to follow the procedure mentioned below:
Step # 1: Update the System’s Cache
First, you need to update your system’s cache with the command that follows:
Step # 2: Install the MariaDB Server on Ubuntu 22.04
After that, you can install the MariaDB server on your Ubuntu 22.04 system by running the following command:
Step # 3: Verify Status of the MariaDB Server on Ubuntu 22.04
Once the MariaDB server has been installed successfully on your system, you can verify its status with the following command:
The status of the MariaDB server on our system is active and running, as shown in the following image:
Step # 4: Confirm Version of the MariaDB Server on Ubuntu 22.04
You can further confirm the version of the MariaDB server installed on your system by running the following command:
This command will display the version of the MariaDB server installed on your Ubuntu 22.04 system, as shown in the following image:
How To Remove MariaDB From Ubuntu 22.04
If you wish to remove the MariaDB server from your system, then you will need to run the following command:
Conclusion
This article taught you the complete procedure for installing the MariaDB server on your Ubuntu 22.04 system. Apart from that, we also shared with you the command with which you can easily uninstall this server from your system whenever you want.