How to Install MySQL Workbench on Linux
Robert Cooper
Robert Cooper Senior Engineer at Basedash
· January 31, 2025
Robert Cooper
Robert Cooper Senior Engineer at Basedash
· January 31, 2025
The way to install MySQL Workbench on Linux systems varies slightly across different distributions. Below, you’ll find a general guide for installing MySQL Workbench, along with specific instructions for popular Linux distributions such as Ubuntu, Fedora, and CentOS.
sudo apt-get update
For Ubuntu and Debian-based systems, use:
sudo apt-get install mysql-workbench
For Fedora:
sudo dnf install mysql-workbench
For CentOS and RHEL-based systems, you might need to enable the EPEL repository first, then install MySQL Workbench using YUM:
sudo yum install epel-release
sudo yum install mysql-workbench
If MySQL Workbench isn’t available in your distribution’s default repository, you can download it directly from the MySQL website.
.deb or .rpm package, depending on your distribution..deb packages (Debian/Ubuntu), use:sudo dpkg -i mysql-workbench-community_version_amd64.deb
Replace version with the actual version number of your downloaded file. For .rpm packages (Fedora/CentOS), use:
sudo rpm -ivh mysql-workbench-community-version.x86_64.rpm
After installation, you can launch MySQL Workbench from your applications menu or by executing mysql-workbench in the terminal.
Written by
Senior Engineer at Basedash
Robert Cooper is a senior engineer at Basedash who builds full-stack product systems across SQL data infrastructure, APIs, and frontend architecture. His work focuses on application performance, developer velocity, and reliable self-hosted workflows that make data operations easier for teams at scale.
Basedash lets you build charts, dashboards, and reports in seconds using all your data.