Skip to content

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 following example downloads Percona Server for MySQL 8.0.29-21 release packages for RHEL 8.

  1. Use wget to download the tar file.

    $ 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
    
  2. Unpack the bundle to get the packages: tar xvf Percona-Server-8.0.29-21-rc59f87d2854-el8-x86_64-bundle.tar

  3. To view a list of packages, run the following command:

    $ ls *.rpm
    
    The output should look like the following:

    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
    
  4. 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
    
  5. 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
    
  6. 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.


Last update: 2023-09-27