Install Percona Server for MySQL 8.4 using downloaded DEB 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.4.11-11 release x86_64 packages for Ubuntu 22.04:
-
Use
wgetto download the tar file:The download filename includes a
<revision-identifier>value. This value is build-specific and must be obtained from the Percona Product Downloads page for the exact release you are installing. Select the product, version, and operating system, and find the link with the required<revision identifier>under the Download all packages button. For more details, see the Instructions for Percona Product Downloads.wget https://downloads.percona.com/downloads/Percona-Server-8.4/Percona-Server-8.4.11-11/binary/debian/jammy/x86_64/Percona-Server-8.4.11-11-<revision-identifier>-jammy-x86_64-bundle.tar -
Unpack the download to get the packages:
tar xvf Percona-Server-8.4.11-11-<revision-identifier>-jammy-x86_64-bundle.tarExpected output
libperconaserverclient21_8.4.11-11-1.buster_amd64.deb libperconaserverclient21-dev_8.4.11-11-1.buster_amd64.deb percona-mysql-router_8.4.11-11-1.buster_amd64.deb percona-server-client_8.4.11-11-1.buster_amd64.deb percona-server-common_8.4.11-11-1.buster_amd64.deb percona-server-dbg_8.4.11-11-1.buster_amd64.deb percona-server-rocksdb_8.4.11-11-1.buster_amd64.deb percona-server-server_8.4.11-11-1.buster_amd64.deb percona-server-source_8.4.11-11-1.buster_amd64.deb percona-server-test_8.4.11-11-1.buster_amd64.deb -
Download the
percona-telemetry-agentpackage for your distribution into the same directory. Thepercona-server-serverpackage depends on it, but the bundle does not include it, and the distribution repositories do not provide it. For example, for Ubuntu 22.04:wget https://repo.percona.com/telemetry/apt/pool/main/p/percona-telemetry-agent/percona-telemetry-agent_1.0.17-1.jammy_amd64.debFor other distributions, replace
jammywith your distribution codename, for example,nobleorbookworm. -
Install the packages with
apt. Run this command as root or use the sudo command:sudo apt install ./*.debUnlike
dpkg -i,aptalso installs the required packages from your distribution repositories, for example,libaio1(libaio1t64on Ubuntu 24.04 and later),libatomic1,libmecab2,libnuma1, andzlib1g-dev.
Warning
Do not install the packages with sudo dpkg -i *.deb. The dpkg tool does not resolve dependencies, so the packages remain unconfigured. Do not try to recover with sudo apt -f install (apt --fix-broken install) either: if percona-telemetry-agent is not available, apt fixes the broken state by removing percona-server-server and the packages that depend on it.