How to Install Percona Database Server on Ubuntu 20.04


Percona is part of the MySQL Server. It is very compatible and can replace Oracle MySQL. Percona Server is a useful option for thousands of businesses. Because it boosts performance, instrumentation, and scalability for their workloads.

It is compatible with cloud services like Google Cloud, Azure… And we will show you how to install Percona Database Server on Ubuntu 20.04 as you go through it below.

Step 1 – Updating the packages

Run the apt command to update:

$ sudo apt update


Then install other required dependencies:

$ sudo apt install wget unzip gnupg2 -y


Step 2 – Adding Percona Repository

Percona is not available in Ubuntu’s repositories. So you must install it in the system.

Firstly, download the Percona release deb file:

$ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb


Then install the downloaded file:

$ sudo dpkg -i percona-release_latest.focal_all.deb


Step 3 – Installing Percona Server


$ sudo percona-release setup ps80


Then run:

$ sudo apt install percona-server-server


Press Ok to next.

Enter password and press Ok.

Press Enter.

Press Enter and the installation is done.


Hope you understood the tutorial on how to install Percona Database Server on Ubuntu 20.04.

Thanks for reading!

Similar Posts