Ways to Uninstall or Install mariadb-backup on Ubuntu 22.04

Updated: September 10, 2022

This backup tool is guaranteed to be compatible with MariaDB. Based on Xtrabackup, but improved to work with MariaDB. In this tutorial, I will show you ways to install mariadb-backup Ubuntu 22.04.

Requirements to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install mariadb-backup on Ubuntu 22.04

Install mariadb-backup Ubuntu 22.04

mariadb-backup is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install mariadb-backup using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these steps to get mariadb-backup on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install mariadb-backup Ubuntu by executing this command in the terminal.

sudo apt-get -y install mariadb-backup

Install mariadb-backup using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After that, you can now install mariadb-backup by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install mariadb-backup Ubuntu by executing this command in the terminal.

sudo aptitude -y install mariadb-backup

Uninstall mariadb-backup on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just mariadb-backup.

You can uninstall mariadb-backup on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove mariadb-backup

If you want to uninstall mariadb-backup and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge mariadb-backup


In this guide, I showed you ways to install mariadb-backup on Ubuntu 22.04 and ways to uninstall mariadb-backup too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.