Install Percona Server for MySQL 8.4 Using APT on Debian/Ubuntu¶
Percona provides ready-to-use packages for Percona Server for MySQL 8.4 through its APT repositories, offering seamless updates and dependency resolution for Debian-based systems.
If you need help with installation or configuration, Percona Support is available to assist you.
Specific information on the supported platforms, products, and versions are available in Percona Software and Platform Lifecycle.
Percona packages and Docker images collect anonymous telemetry data to improve product quality. For details on what is collected and how to opt out, see Telemetry in Percona Server for MySQL.
ARM support¶
Percona Server for MySQL 8.4 includes native support for the ARM64 (aarch64) architecture in its DEB packages. These packages are available for Ubuntu starting with version 20.04 and for Debian starting with version 11.
Install Percona Server for MySQL using APT¶
To install Percona Server for MySQL using APT, do the following steps:
-
Update the package index and install
curl
:$ sudo apt update && sudo apt install curl
-
Download the
percona-release
repository package:$ curl -O https://repo.percona.com/apt/percona-release_latest.generic_all.deb
-
Install the package with
apt
as root or with sudo:$ sudo apt install gnupg2 lsb-release ./percona-release_latest.generic_all.deb
-
Refresh the package index:
$ sudo apt update
-
Enable the Percona Server for MySQL 8.4 repository:
$ sudo percona-release enable-only ps-84-lts release $ sudo percona-release enable tools release
-
[Optional] You can check the repository setup for the Percona original release list in
cat /etc/apt/sources.list.d/percona-original-release.list
. -
Install the server:
$ sudo apt install percona-server-server
See Configuring Percona repositories with percona-release
for more information.
Percona Server for MySQL 8.4.x comes with the MyRocks storage engine. This storage engine is installed as a plugin. For information on installing and configuring MyRocks, refer to the Percona MyRocks Installation Guide.
Percona Server for MySQL includes user-defined functions (UDFs) from Percona Toolkit for faster checksum calculations. Learn more in Percona Toolkit UDF functions.
Once the installation completes, execute the following command to install these functions:
mysql> -e "INSTALL COMPONENT 'file://component_percona_udf'"
Install the Percona Testing repository using APT¶
Percona offers pre-release builds from the testing repository. To enable it, run
percona-release with the testing
argument. Run the following command as root or use the sudo command:
$ sudo percona-release enable ps-84-lts testing
These builds should not be run in production. This build may not contain all of the features available in the final release. The features may change without notice.