Install Percona Server for MySQL using downloaded RPM packages¶
-
Download the packages of the desired series for your architecture from the download page. The easiest way is to download the bundle which contains all the packages. The following example downloads Percona Server for MySQL 8.0.21-12 release packages for RHEL 8.
$ wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.29-21/binary/redhat/8/x86_64/Percona-Server-8.0.29-21-rc59f87d2854-el8-x86_64-bundle.tar
-
Unpack the bundle to get the packages:
tar xvf Percona-Server-8.0.29-21-rc59f87d2854-el8-x86_64-bundle.tar
-
To view a list of packages, run the following command:
The output should look like the following:$ ls *.rpm
Expected output
percona-icu-data-files-8.0.29-21.1.el8.x86_64.rpm percona-mysql-router-8.0.29-21.1.el8.x86_64.rpm percona-mysql-router-debuginfo-8.0.29-21.1.el8.x86_64.rpm percona-server-client-8.0.29-21.1.el8.x86_64.rpm percona-server-client-debuginfo-8.0.29-21.1.el8.x86_64.rpm percona-server-debuginfo-8.0.29-21.1.el8.x86_64.rpm percona-server-debugsource-8.0.29-21.1.el8.x86_64.rpm percona-server-devel-8.0.29-21.1.el8.x86_64.rpm percona-server-rocksdb-8.0.29-21.1.el8.x86_64.rpm percona-server-rocksdb-debuginfo-8.0.29-21.1.el8.x86_64.rpm percona-server-server-8.0.29-21.1.el8.x86_64.rpm percona-server-server-debuginfo-8.0.29-21.1.el8.x86_64.rpm percona-server-shared-8.0.29-21.1.el8.x86_64.rpm percona-server-shared-compat-8.0.29-21.1.el8.x86_64.rpm percona-server-shared-debuginfo-8.0.29-21.1.el8.x86_64.rpm percona-server-test-8.0.29-21.1.el8.x86_64.rpm percona-server-test-debuginfo-8.0.29-21.1.el8.x86_64.rpm
-
Install
jemalloc
with the following command, if needed:$ wget https://repo.percona.com/yum/release/8/RPMS/x86_64/jemalloc-3.6.0-1.el8.x86_64.rpm
-
An EL8-based RHEL distribution or derivatives package installation requires the mysql module to be disabled before installing the packages:
$ sudo yum module disable mysql
-
Install all the packages (for debugging, testing, etc.) with the following command:
$ sudo rpm -ivh *.rpm
Note
When installing packages manually, you must make sure to resolve all dependencies and install any missing packages yourself.