Install Percona Server for MySQL 8.0 using downloaded DEB packages¶
When installing packages manually, you must resolve all the dependencies and install missing packages yourself. You must install the following packages before manually installing Percona Server:
-
mysql-common -
libjemalloc1 -
libaio1 -
libmecab2.
Download the packages from Percona Product Downloads. If needed, Instructions for the Percona Product Download are available.
-
The following example uses
Wgetto download the Percona Server 8.0 bundle from the specified URL. The bundle is a tar archive containing the Percona Server 8.0.31-23 binary for Debian Buster (x86_64 architecture):$ wget https://downloads.percona.com/downloads/Percona-Server-8.0/Percona-Server-8.0.31-23/binary/debian/buster/x86_64/Percona-Server-8.0.31-23-r71449379-buster-x86_64-bundle.tar -
The command line instruction uses the
tarcommand to extract files from a tarball (a type of compressed file). Thetarcommand is a Unix utility that stores and extracts files from an archive file known as a tarfile.The
xvfoption combines three separate options:x,v, andf.-
xextract the files from the archive -
vverbose - print the file names as they are extracted -
ffile - use the following argument as the name of the archive file
The following command extracts the contents of the
Percona-Server-8.0.31-23-r71449379-buster-x86_64-bundle.tarfile and prints the file names.$ tar xvf Percona-Server-8.0.31-23-r71449379-buster-x86_64-bundle.tarExpected output
libperconaserverclient21_8.0.31-23-1.buster_amd64.deb libperconaserverclient21-dev_8.0.31-23-1.buster_amd64.deb percona-mysql-router_8.0.31-23-1.buster_amd64.deb percona-server-client_8.0.31-23-1.buster_amd64.deb percona-server-common_8.0.31-23-1.buster_amd64.deb percona-server-dbg_8.0.31-23-1.buster_amd64.deb percona-server-rocksdb_8.0.31-23-1.buster_amd64.deb percona-server-server_8.0.31-23-1.buster_amd64.deb percona-server-source_8.0.31-23-1.buster_amd64.deb percona-server-test_8.0.31-23-1.buster_amd64.deb -
-
Install Percona Server for MySQL using the
dpkgutility to install Debian (.deb) packages. The installation requires either root or thesudocommand.sudoallows you to run programs with the security privileges of another user, usually as the superuser.dpkgis a package manager for Debian-based systems and can install, remove, and provide information about.debpackages.The
-ioption tellsdpkgto install the package.The
*.debis a wildcard that matches any file in the current directory that ends with the.debextension.$ sudo dpkg -i *.deb
Starting with Percona Server for MySQL 8.0.28-19 (2022-05-12), the TokuDB storage engine is no longer supported. For more information, see the TokuDB Introduction and TokuDB changes by Percona Server for MySQL version.