Installing DBeaver to Debian 12
My company's custom software use SQL server for database. I want to access and modify the database from my home Linux based PC.
I decide to use DBeaver, but it wasn't available from Debian's official repository. As a beginner Linux user, I prefer not to break my Debian, but alas, I need this. So I decided to try installing using flatpak. To my understanding, flatpak is "contained" installation, even though it's still wasn't advisable1.
First I install flatpak as root. All these are done in the terminal.
sudo apt install flatpak
then to add the common flathub repo2
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
next is to install DBeaver. The process will take awhile.
flatpak install flathub io.dbeaver.DBeaverCommunity
finally, to run it
flatpak run io.dbeaver.DBeaverCommunity
and it works! I can now access my server's SQL database and do query from Linux.
To make things easier, I created a shortcut on the desktop.
I did this in Raspbian OS and it works too. I can now query my database on the move using my uConsole. Screen is tad too small but still, it's nice to be able to.