Use an APT repository to install Percona Server for MySQL 8.4¶
Ready-to-use packages are available from the Percona Server for MySQL software repositories and the Percona downloads page.
Specific information on the supported platforms, products, and versions is described in Percona Software and Platform Lifecycle.
We gather Telemetry data in the Percona packages and Docker images.
ARM support¶
The DEB builds for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, DEBIAN 11, and DEBIAN 12 contain ARM packages with the aarch64.rpm
extension. This means that Percona Server for MySQL is available for users on ARM-based systems.
Install Percona Server for MySQL using APT¶
The percona-release
tool currently shows an Unknown alias specification error when you use ps-84-lts
. The next release of the percona-release tool will fix this error.
In the meantime, use your platform’s version of the APT or YUM package management tools instead.
To install Percona Server for MySQL using APT, do the following steps:
-
Update the package repositories:
$ sudo apt update
-
Install the
curl
download utility if needed:$ 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 downloaded package with
apt
as root or with sudo:$ sudo apt install gnupg2 lsb-release ./percona-release_latest.generic_all.deb
-
Refresh the local cache to update the package information:
$ sudo apt update
-
Use
percona-release
to set up the repository for the Percona Server for MySQL 8.4 version:$ sudo percona-release enable-only ps-84-lts release $ sudo percona-release enable tools release
-
You can check the repository setup for the Percona original release list in
/etc/apt/sources.list.d/percona-original-release.list
. -
Install the server package with the
percona-release
command:$ 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 contains user-defined functions from Percona Toolkit. These user-defined functions, fnv_64
, fnv1a_64
, murmur_hash
, provide faster checksums. For more details on the user-defined functions, see Percona Toolkit UDF functions.
After the installation completes, run the following command to create 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.
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.