Skip to content
logo
Percona Product Documentation
Install using APT repository
percona/psmysql-docs
percona/psmysql-docs
  • Home
    • The Percona XtraDB Storage Engine
    • List of features available in Percona Server for MySQL releases
    • Percona Server for MySQL Feature Comparison
    • Changed in Percona Server 8.0
    • Understand version numbers
    • Install Percona Server for MySQL
      • Install using APT repository
        • Install Percona Server for MySQL from Percona apt repository
          • Percona apt Testing repository
      • Files in DEB package
      • Build APT packages
      • Install from downloaded DEB packages
      • Apt pinning
      • Run Percona Server for MySQL
      • Uninstall
      • Install using a RPM repository
      • Files in RPM package
      • Install from downloaded RPM packages
      • Run Percona Server for MySQL
      • Uninstall
      • Install with binary tarballs
      • Binary tarballs available
      • Install Percona Server for MySQL from a source tarball
      • Compile Percona Server for MySQL 8.0 from source
    • Post-Installation
    • Percona Server for MySQL In-Place Upgrading Guide: From 5.7 to 8.0
    • Upgrading using the Percona repositories
    • Upgrading from Systems that Use the MyRocks or TokuDB Storage Engine and Partitioned Tables
    • Upgrading using Standalone Packages
    • Running Percona Server for MySQL in a Docker Container
    • Docker config
    • Improved InnoDB I/O Scalability
    • Adaptive Network Buffers
    • Multiple page asynchronous I/O requests
    • Thread Pool
    • XtraDB Performance Improvements for I/O-Bound Highly-Concurrent Workloads
    • Prefix Index Queries Optimization
    • Limiting the Estimation of Records in a Query
    • Jemalloc Memory Allocation Profiling
    • The ProcFS plugin
    • Binlogging and replication improvements
    • Compressed columns with dictionaries
    • Extended SELECT INTO OUTFILE/DUMPFILE
    • Extended SET VAR Optimizer Hint
    • Improved MEMORY Storage Engine
    • Suppress Warning Messages
    • Limiting the disk space used by binary log files
    • Support for PROXY protocol
    • SEQUENCE_TABLE(n) Function
    • Slow Query Log Rotation and Expiration
    • Extended mysqlbinlog
    • Extended mysqldump
    • InnoDB Full-Text Search Improvements
    • Too Many Connections Warning
    • Handle Corrupted Tables
    • Percona Toolkit UDFs
    • Kill Idle Transactions
    • XtraDB changed page tracking
    • Enforcing Storage Engine
    • Expanded Fast Index Creation
    • Backup Locks
    • Audit Log Plugin
    • Start transaction with consistent snapshot
    • Extended SHOW GRANTS
    • Utility user
    • PAM Authentication Plugin
    • Using LDAP authentication plugins
    • LDAP authentication plugin system variables
    • Working with SELinux
    • Working with AppArmor
    • Data at Rest Encryption
    • Using the keyring component or keyring plugin
    • Using the Key Management Interoperability Protocol (KMIP)
    • Encryption functions
    • Using the Amazon Key Management Service (AWS KMS)
    • FIDO authentication plugin
    • Rotating the Master Key
    • Encrypting File-Per-Table Tablespace
    • Encrypting a Schema or a General Tablespace
    • Encrypting the System Tablespace
    • Encrypting Temporary Files
    • Encrypting Binary Log Files and Relay Log Files
    • Encrypting the Redo Log files
    • Encrypting the Undo Tablespace
    • Working with Advanced Encryption Key Rotation
    • Encrypting Doublewrite Buffers
    • Verifying the Encryption for Tables, Tablespaces, and Schemas
    • SSL Improvements
    • Data Masking
    • Server variables
    • User Statistics
    • Slow Query Log
    • Extended Show Engine InnoDB Status
    • Show Storage Engines
    • Process List
    • Misc. INFORMATION_SCHEMA Tables
    • Thread Based Profiling
    • InnoDB Page Fragmentation Counters
    • Stacktrace
    • Libcoredumper
    • Manage Group Replication flow control
    • Group replication system variables
    • Percona MyRocks Introduction
    • Percona MyRocks Installation Guide
    • Updated Supported Features
    • MyRocks Limitations
    • Differences between Percona MyRocks and Facebook MyRocks
    • MyRocks Information Schema Tables
    • MyRocks Server Variables
    • MyRocks Status Variables
    • Gap locks detection
    • Data Loading
    • Installing and configuring Percona Server for MySQL with ZenFS support
    • TokuDB Introduction
    • TokuDB Installation
    • Using TokuDB
    • Fast Updates with TokuDB
    • TokuDB files and file types
    • TokuDB file management
    • TokuDB Background ANALYZE TABLE
    • TokuDB Variables
    • TokuDB Status Variables
    • TokuDB Fractal Tree Indexing
    • TokuDB Troubleshooting
    • TokuDB Performance Schema Integration
    • Frequently Asked Questions
    • Migrating and Removing the TokuDB storage engine
    • Percona TokuBackup
    • Percona Server for MySQL 8.0 Release notes
    • Percona Server for MySQL 8.0.30-22 (2022-11-21)
    • Percona Server for MySQL 8.0.29-21 (2022-08-08)
    • Percona Server for MySQL 8.0.28-20 (2022-06-20)
    • Percona Server for MySQL 8.0.28-19 (2022-05-12)
    • Percona Server for MySQL 8.0.27-18 (2022-03-02)
    • Percona Server for MySQL 8.0.26-17 (2022-01-26)
    • Percona Server for MySQL 8.0.26-16 (2021-10-20)
    • Percona Server for MySQL 8.0.25-15 (2021-07-13)
    • Percona Server for MySQL 8.0.23-14 (2021-05-12)
    • Percona Server for MySQL 8.0.22-13 (2020-12-14)
    • Percona Server for MySQL 8.0.21-12 (2020-10-13)
    • Percona Server for MySQL 8.0.20-11 (2020-07-21)
    • Percona Server for MySQL 8.0.19-10 (2020-03-23)
    • Percona Server for MySQL 8.0.18-9
    • Percona Server for MySQL 8.0.17-8
    • Percona Server for MySQL 8.0.16-7
    • Percona Server for MySQL 8.0.15-6
    • Percona Server for MySQL 8.0.15-5
    • Percona Server for MySQL 8.0.14
    • Percona Server for MySQL 8.0.13-4
    • Percona Server for MySQL 8.0.13-3
    • Percona Server for MySQL 8.0.12-2rc1
    • List of upstream MySQL bugs fixed in Percona Server for MySQL 8.0
    • List of variables introduced in Percona Server for MySQL 8.0
    • Development of Percona Server for MySQL
    • Trademark policy
    • Index of INFORMATION_SCHEMA Tables
    • Frequently Asked Questions
    • Copyright and licensing information
    • Glossary

  • Install Percona Server for MySQL from Percona apt repository
    • Percona apt Testing repository

Use an APT repository to install Percona Server for MySQL 8.0¶

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.

Install Percona Server for MySQL from Percona apt repository¶

  1. Install GnuPG, the GNU Privacy Guard:

    $ sudo apt install gnupg2 curl
    
  2. Fetch the repository packages from Percona web:

    $ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
    
  3. Install the downloaded package with dpkg. To do that, run the following commands as root or with sudo:

    $ sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
    
  4. Once you install this package, the Percona repositories should be added. You can check the repository setup in the /etc/apt/sources.list.d/percona-original-release.list file.

  5. Enable the repository:

    $ sudo percona-release setup ps80
    
  6. After that, you can install the server package:

    $ sudo apt install percona-server-server
    

    Note

    Percona Server for MySQL 8.0 comes with the TokuDB storage engine and MyRocks storage engine. These storage engines are installed as plugins.

    Starting with Percona Server for MySQL 8.0.28-19 (2022-05-12), the TokuDB storage engine is no longer supported. We have removed the storage engine from the installation packages and disabled the storage engine in our binary builds. For more information, see TokuDB Introduction.

    For information on how to install and configure TokuDB, refer to the TokuDB Installation guide.

    For information on how to install and configure MyRocks, refer to the Percona MyRocks Installation Guide.

Percona Server for MySQL contains several useful User Defined Functions (UDF) from Percona Toolkit. After the installation completes, run the following commands to create these functions:

mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"

For more details on the UDFs, see Percona Toolkit UDFS.

Percona apt Testing repository¶

Percona offers pre-release builds from the testing repository. To enable it, run percona-release with the testing argument. Run this command as root or by using the sudo command.

$ sudo percona-release enable ps80 testing

Contact Us

For free technical help, visit the Percona Community Forum.

To report bugs or submit feature requests, open a JIRA ticket.

For paid support and managed or consulting services , contact Percona Sales.


Last update: 2022-12-20
Back to top
Percona LLC, © 2022
Made with Material for MkDocs