Percona apt Repository

Supported Architectures

  • x86_64 (also known as amd64)
  • x86

Supported Releases


  • 7.0 wheezy


  • 12.04LTS precise
  • 14.04LTS trusty

The packages are available in the official Percona software repositories and on the download page. It is recommended to install Percona XtraDB Cluster from repositories using apt.

Installing from Repositories

  1. Fetch the repository packages from Percona web:
wget$(lsb_release -sc)_all.deb
  1. Install the downloaded package with dpkg. To do that, run the following command as root or with sudo:
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 configuration in the /etc/apt/sources.list.d/percona-release.list file.

  1. Update the local cache:
sudo apt-get update
  1. Install the server package:
sudo apt-get install percona-xtradb-cluster-55


For Ubuntu 14.04 (Trusty) percona-xtradb-cluster-galera-2.x will have to be specified with the meta package so the installation command should look like:

$ sudo apt-get install percona-xtradb-cluster-55 percona-xtradb-cluster-galera-2.x


Alternatively, you can install percona-xtradb-cluster-full-55 meta-package which will install the following additional packages:

  • percona-xtradb-cluster-test-5.5,
  • percona-xtradb-cluster-5.5-dbg,
  • percona-xtradb-cluster-garbd-2.x,
  • percona-xtradb-cluster-galera-2x-dbg,
  • percona-xtradb-cluster-garbd-2.x-dbg and
  • libmysqlclient18

For more information on how to bootstrap the cluster please check Installing Percona XtraDB Cluster on Ubuntu.


Garbd is packaged separately as part of Debian split packaging. The garbd debian package is percona-xtradb-cluster-garbd-2.x. The package contains, garbd, daemon init script and related config files. This package will be installed if you install the percona-xtradb-cluster-full-55 meta package.

Percona apt Testing repository

Percona offers fresh beta builds from the testing repository. To enable it add the following lines to your /etc/apt/sources.list , replacing VERSION with the name of your distribution:

deb VERSION main testing
deb-src VERSION main testing

Apt-Pinning the packages

In some cases you might need to “pin” the selected packages to avoid the upgrades from the distribution repositories. You’ll need to make a new file /etc/apt/preferences.d/00percona.pref and add the following lines in it:

Package: *
Pin: release o=Percona Development Team
Pin-Priority: 1001

For more information about the pinning you can check the official debian wiki.

Contact Us

For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or professional services, contact Percona Sales.