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 keys.gnupg.net --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 http://repo.percona.com/apt VERSION main deb-src http://repo.percona.com/apt VERSION main
Remember to update the local cache:
$ apt-get update
- x86_64 (also known as amd64)
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 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 http://repo.percona.com/apt VERSION main testing deb-src http://repo.percona.com/apt VERSION main testing
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.
For general inquiries, please send us your question and someone will contact you.