Installing Percona Toolkit

Percona maintains Ubuntu repos for their products. Below is process to install it quickly.

Add GPG Key

gpg --keyserver  hkp:// --recv-keys 1C4CBDCDCD2EFD2A
gpg -a --export CD2EFD2A | sudo apt-key add -

Add Repos

echo "deb `lsb_release -cs` main" >> /etc/apt/sources.list.d/percona.list
echo "deb-src `lsb_release -cs` main" >> /etc/apt/sources.list.d/percona.list


apt-get update


apt-get install percona-toolkit

You can install percona server also at this point as it is part of package. We haven’t tried it yet, so it will be wise to not write anything about it.