On Debian/Ubuntu

  1. Fetch the repository packages from Percona:

shell> wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb
  1. Install the downloaded package with dpkg. To do that, run the following commands as root or with sudo:
shell> sudo dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb

Once you install this package, the Percona repositories should be added. You can check the repository setup in the /etc/apt/sources.list.d/percona-release.list file.

  1. Remember to update the local cache:
shell> sudo apt-get update
  1. After that, you can install the package:
shell> sudo apt-get install percona-xtrabackup-24

Get MySQL 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.