|
1 |
| -# Install Percona Server for MySQL {{vers}} using downloaded DEB packages |
2 | 1 |
|
3 |
| -Download the packages from [Percona Product Downloads](https://www.percona.com/downloads). If needed, [Instructions for the Percona Product Download](download-instructions.md) are available. |
| 2 | +## Download and install Percona Server for MySQL from a `.tar` file |
4 | 3 |
|
5 |
| -The following example downloads Percona Server for MySQL {{release}} release packages for Ubuntu 22.04: |
| 4 | +Percona provides `.tar` files for different system architectures (such as AMD64 or ARM64) and [glibc](https://www.gnu.org/software/libc/) versions. |
| 5 | + |
| 6 | +To avoid compatibility errors, download a file that matches your system’s architecture and glibc version. |
| 7 | + |
| 8 | +## Why use a `.tar` file instead of APT or DNF? |
| 9 | + |
| 10 | +You might choose a `.tar` file over your system’s package manager in the following situations: |
| 11 | + |
| 12 | + |
| 13 | +| Scenario | Description | |
| 14 | +|----------------------------------------------|-----------------------------------------------------------------------------| |
| 15 | +| You need a version not available in your OS | `.tar` files often include newer or custom Percona builds. | |
| 16 | +| You’re using an unsupported Linux distro | For example, Alpine, Arch, or Amazon Linux. | |
| 17 | +| You want full control over installation | Choose install path, skip auto startup, and configure manually. | |
| 18 | +| You don’t want to modify system package DB | Useful in environments with limited or no root access. | |
| 19 | +| You’re using containers or minimal images | Ideal for Docker or stripped-down environments without APT or DNF. | |
| 20 | + |
| 21 | + |
| 22 | +> ⚠️ Manual dependency management required |
| 23 | +> Using `.tar` files means you must manage all software dependencies yourself. This approach is best for experienced users, test environments, or containerized deployments. It’s not always recommended for production use. |
| 24 | +
|
| 25 | +## Download the `.tar` file |
| 26 | + |
| 27 | +Use the [Percona Downloads page](https://www.percona.com/downloads/) to get the appropriate `.tar` file for your system. |
| 28 | + |
| 29 | +Need help using the page? See [Instructions for the Percona Product Download](#). |
| 30 | + |
| 31 | +## Recommended downloads |
| 32 | + |
| 33 | +The table below lists the available tarballs for AMD64 systems. Each entry includes the glibc version and the file size. |
| 34 | + |
| 35 | +| Package Type | Glibc Version | File Name | Size | |
| 36 | +|--------------|----------------|-----------|------| |
| 37 | +| Full Bundle | glibc 2.28 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.28.tar.gz` | 1.48 GB | |
| 38 | +| Minimal | glibc 2.28 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.28-minimal.tar.gz` | 145.7 MB | |
| 39 | +| Full Bundle | glibc 2.31 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.31.tar.gz` | 1.49 GB | |
| 40 | +| Minimal | glibc 2.31 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.31-minimal.tar.gz` | 151.4 MB | |
| 41 | +| Full Bundle | glibc 2.34 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.34.tar.gz` | 1.28 GB | |
| 42 | +| Minimal | glibc 2.34 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.34-minimal.tar.gz` | 141.2 MB | |
| 43 | +| Full Bundle | glibc 2.35 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.35.tar.gz` | 1.47 GB | |
| 44 | +| Minimal | glibc 2.35 | `Percona-Server-8.4.5-5-Linux.x86_64.glibc2.35-minimal.tar.gz` | 151.2 MB | |
| 45 | + |
| 46 | +## Choosing between Full and Minimal packages |
| 47 | + |
| 48 | +Percona provides two `.tar` package types: |
| 49 | + |
| 50 | +### 🏗️ Full Bundle |
| 51 | + |
| 52 | +Includes server binaries, client tools, test utilities, and plugins. |
| 53 | + |
| 54 | +Best for: |
| 55 | + |
| 56 | +* First-time installations |
| 57 | +* Development environments |
| 58 | +* Users who want everything included |
| 59 | + |
| 60 | +Size: ~1.4–1.5 GB |
| 61 | + |
| 62 | +### 🧪 Minimal Package |
| 63 | + |
| 64 | +A slim version with only core server binaries. |
| 65 | + |
| 66 | +Best for: |
| 67 | + |
| 68 | +* Lightweight containers or virtual machines |
| 69 | +* Production systems with tight resource limits |
| 70 | +* Advanced users who prefer installing only what they need |
| 71 | + |
| 72 | +Size: ~140–150 MB |
| 73 | + |
| 74 | +> 🔍 Quick Tip |
| 75 | +> If you’re unsure which package to use, start with the Full Bundle. It’s easier to explore and troubleshoot. You can switch to the Minimal version later for leaner deployments. |
| 76 | +
|
| 77 | +## Check your system architecture and glibc version |
| 78 | + |
| 79 | +Make sure the file you download is compatible with your system. |
| 80 | + |
| 81 | +### Check your architecture |
| 82 | + |
| 83 | +Run this command to identify your system’s CPU type: |
| 84 | + |
| 85 | +``` |
| 86 | +$ uname -m |
| 87 | +``` |
| 88 | + |
| 89 | +This command shows what type of processor your system uses: |
| 90 | + |
| 91 | +* `x86_64` means your system uses AMD64 architecture (Intel or AMD). |
| 92 | + |
| 93 | +* `aarch64` means your system uses ARM64 architecture (Apple Silicon or ARM-based servers). |
| 94 | + |
| 95 | + ??? example "Expected output" |
| 96 | + |
| 97 | + ```{.text .no-copy} |
| 98 | + x86_64 |
| 99 | + ``` |
| 100 | + |
| 101 | +#### Check your glibc version |
| 102 | + |
| 103 | +Run this command to see which version of the GNU C Library (glibc) your system is using: |
| 104 | + |
| 105 | +``` |
| 106 | +$ getconf GNU_LIBC_VERSION |
| 107 | +``` |
| 108 | + |
| 109 | +The glibc version must match or exceed the version required by the Percona tarball. |
| 110 | + |
| 111 | + |
| 112 | + ??? example "Expected output" |
| 113 | + |
| 114 | + ```{.text .no-copy} |
| 115 | + glibc 2.35 |
| 116 | + ``` |
| 117 | + |
| 118 | + |
| 119 | +> 🧠 **Tip:** If the architecture or glibc version doesn't match, the binary may not run, and you could see errors like `wrong ELF class` or `version 'GLIBC_x.x' not found`. |
| 120 | +
|
| 121 | +The following example downloads Percona Server for MySQL {{release}} packages for Ubuntu 22.04 on a AMD64 server: |
6 | 122 |
|
7 | 123 | ```{.bash data-prompt="$"}
|
8 |
| -$ wget https://downloads.percona.com/downloads/Percona-Server-8.4/Percona-Server-8.4.0-1/binary/debian/jammy/x86_64/Percona-Server-8.4.0-1-r238b3c02-jammy-x86_64-bundle.tar |
| 124 | +$ wget https://downloads.percona.com/downloads/Percona-Server-{{version}}/Percona-Server-{{release}}/binary/debian/jammy/x86_64/percona-server-server_{{release}}-1.jammy_amd64.deb |
9 | 125 | ```
|
10 | 126 |
|
11 | 127 | Unpack the download to get the packages:
|
|
0 commit comments