If you need a specific version (like MySQL 8.4 LTS or 9.1 Innovation), you can download the packages directly from the official MySQL Community Server page. 2.5 Installing MySQL on Linux

Run the following command: sudo apt install mysql-server

Open your terminal and run: sudo apt update