Install Percona Server for MySQL using downloaded RPM packages¶
Download the packages from Percona Product Downloads. If needed, Instructions for the Percona Product Download are available.
The RPM builds for RHEL 8 and RHEL 9 contain ARM packages with the aarch64.rpm extension. This means that Percona Server for MySQL is available for users on ARM-based systems.
The following example downloads Percona Server for MySQL 8.4.3-3 release x86_64
packages for RHEL 8.
-
Use
wget
to download the tar file.$ wget https://downloads.percona.com/downloads/Percona-Server-8.4/Percona-Server-8.4.0-1/binary/redhat/8/x86_64/Percona-Server-8.4.0-1-r238b3c02-el8-x86_64-bundle.tar
-
Unpack the bundle to get the packages:
$ tar xvf Percona-Server-8.4.0-1-r238b3c02-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.4.3-3.1.el8.x86_64.rpm percona-mysql-router-8.4.3-3.1.el8.x86_64.rpm percona-mysql-router-debuginfo-8.4.3-3.1.el8.x86_64.rpm percona-server-client-8.4.3-3.1.el8.x86_64.rpm percona-server-client-debuginfo-8.4.3-3.1.el8.x86_64.rpm percona-server-debuginfo-8.4.3-3.1.el8.x86_64.rpm percona-server-debugsource-8.4.3-3.1.el8.x86_64.rpm percona-server-devel-8.4.3-3.1.el8.x86_64.rpm percona-server-rocksdb-8.4.3-3.1.el8.x86_64.rpm percona-server-rocksdb-debuginfo-8.4.3-3.1.el8.x86_64.rpm percona-server-server-8.4.3-3.1.el8.x86_64.rpm percona-server-server-debuginfo-8.4.3-3.1.el8.x86_64.rpm percona-server-shared-8.4.3-3.1.el8.x86_64.rpm percona-server-shared-compat-8.4.3-3.1.el8.x86_64.rpm percona-server-shared-debuginfo-8.4.3-3.1.el8.x86_64.rpm percona-server-test-8.4.3-3.1.el8.x86_64.rpm percona-server-test-debuginfo-8.4.3-3.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.
Get expert help¶
If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.