Buy Percona ServicesBuy Now!

Percona apt Repository

Debian and Ubuntu packages from Percona are signed with a key. Before using the repository, you should add the key to apt. To do that, run the following commands:

$ apt-key adv --keyserver --recv-keys 1C4CBDCDCD2EFD2A

Add this to /etc/apt/sources.list (or create a dedicated Percona repository file /etc/apt/sources.list.d/percona.list), and replace VERSION with the name of your distribution:

deb VERSION main
deb-src VERSION main

Remember to update the local cache:

$ apt-get update

Supported Architectures

  • x86_64 (also known as amd64)
  • x86

Supported Releases


  • 7.0 wheezy


  • 12.04LTS precise
  • 14.04LTS trusty

Install XtraDB Cluster

Following command will install Cluster packages:

$ 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

Instead of percona-xtradb-cluster-55 you can install percona-xtradb-cluster-full-55 meta-package which will install 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 packages in addition.


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 experimental 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.

This documentation is developed in Launchpad as part of the Percona XtraDB Cluster 5.5.
If you spotted inaccuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.
Visit Percona Store

General Inquiries

For general inquiries, please send us your question and someone will contact you.