Install percona-release¶
We recommend installing Percona software using the corresponding package manager for your system:
- apt for Debian and Ubuntu Linux
- yum for Red Hat Enterprise Linux and compatible derivatives (including CentOS, Oracle Linux, Amazon Linux AMI, etc.)
Find information about supported platforms on the Percona Release Lifecycle Overview.
If you are running a DEB-based distribution, such as Debian or Ubuntu Linux, use
the apt package manager to install the percona-release official package:
-
Install the
curldownload utility if it’s not installed already:$ sudo apt update $ sudo apt install curl -
Download the
percona-releaserepository package:$ curl -O https://repo.percona.com/apt/percona-release_latest.generic_all.deb -
Install the downloaded repository package and its dependencies using
apt:$ sudo apt install gnupg2 lsb-release ./percona-release_latest.generic_all.deb -
Refresh the local cache to update the package information:
$ sudo apt update -
After installation, the Percona software repositories are available. You can check the repository setup for the Percona original release list in the
/etc/apt/sources.list.d/percona-original-release.listfile.Note
If you have enabled another repository, the file name will be different.
If you are running an RPM-based Linux distribution, such as Red Hat Enterprise
Linux or compatible derivatives, use the yum package manager to install
percona-release.
Run the following command as the root user or with sudo:
$ sudo yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm
Next steps: use the percona-release command to setup the
repository that contains the Percona product that you
intend to install:
$ sudo percona-release setup <PRODUCT>
percona-release for additional information.
Next, use the operating system’s package management tool to install the desired product package.