A Step-by-Step Guide to Installing MySQL Workbench on Linux
In my previous post, I introduced how to install MySQL Workbench on Windows.
Today, I will introduce how to install MySQL Workbench on Linux. The installation process varies slightly depending on your distribution (Ubuntu, Fedora, etc.), so I will focus on the most popular methods for Ubuntu and Debian-based systems.
1) Update Package Lists
sudo apt update
2) Install MySQL Workbench
sudo apt install mysql-workbench
“If you encounter the error ‘E: Unable to locate package mysql-workbench,’ it is because the default Ubuntu and Debian repositories often exclude the Workbench package—especially in newer versions like 24.04 LTS. To resolve this, please follow the manual installation method below.
2.1. Install MySQL Workbench using Snap
The easiest way to bypass repository issues is to use Snap. Snap packages come bundled with all the libraries they need, so they “just work” on almost any Linux version.
sudo snap install mysql-workbench-community
Once the installation is complete, you can start using MySQL Workbench immediately. You can either set up a new connection to a local server or log in to a cloud server to begin your work right away.


We aim to develop open-source code for agronomy ([email protected])
© 2022 – 2025 https://agronomy4future.com – All Rights Reserved.
Last Updated: 03/08/2025