How to Install Mysql Workbench on Debian 11 Bullseye Linux – Guide
MySQL Workbench is a graphical modelling tool and development system available in a free and commercial edition… It offers a collection of tools for working with MySQL databases. In short, it provides a graphical user interface for designing and editing databases quickly, displaying them clearly, and managing them. Workbench can be used on computers running Linux, macOS or Microsoft Windows operating systems. The software can extract structures from existing databases and display them. In addition, MySQL Workbench converts SQL Server tables to MySQL tables, allows developers to design databases visually and offline and host them on a MySQL server. Community Edition is free to download. For advanced users who need additional functions, scripting language extensions can be integrated into the tool.
Steps to Install Mysql Workbench on Debian 11 Bullseye Linux
Method using SID repository- Using unstable package
1. Add Debian SID repository
Open the command terminal on your Debian 11 and add the repository provided to get the latest version of MySQL Workbench; however, packages are marked as unstable, but we didn’t find any problem in our use. echo “deb http://deb.debian.org/debian sid main contrib non-free” | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
2. Run system update
To tell the system that we’ve added a new repository and cache the packages available through it, run the system update command once. sudo apt update
3. Install MySQL Desktop on Debian 11
After adding the SID repository on your Debian Bullseye using the command given above, let’s install the MySQL Database manager Workbench GUI using the given command belwo: sudo apt install mysql-workbench -y
4. Run the Workbench
Now, go to the application launcher and search for MySQL Workbench because its icon appears, click to run it. Install MySQL Workbench on Debian 11 Bullseye
5. To uninstall, run
Well, if you don’t need Workbench anymore, just remove the app. sudo apt remove mysql-workbench -y
2nd Method using SNAP
Well, for those who don’t want to add the SID repository on their Debian 11 Bullseye, another way to get MySQL Workbench is using the Snapcraft repository. And for that, we first need to install SNAPD. Here are the commands to follow. sudo apt install snapdsnap install coresnap install mysql-workbench-communitysudo reboot To run: snap run mysql-workbench-communityBut you won’t get the SNAP application icon installed in the Debian application launcher, to get it just follow the next steps given.
Debian: Snap Apps Icons Not Displayed in Launcher
If the icons for applications installed using SNAP are not displayed in the system application launcher, run the commands given below: sudo ln -s /etc/profile.d/apps-bin-path.sh /etc/X11/Xsession.d/99snapsudo nano /etc/login.defs Paste the following into final of the file: ENV_PATH PATH = / usr / local / sbin: / usr / local / bin: / usr / sbin: / usr / bin: / sbin: / bin: / snap / binSave the file Ctrl + O and exit the file. Snapshot installed apps do not appear Log out and log back into your system Now, you will be able to get all the icons of apps installed in the launcher.
Final note
I hope you like the guide How to Install Mysql Workbench on Debian 11 Bullseye Linux. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.