How to install DBeaver on Ubuntu (24.04 and 22.04)
Wondering how to install DBeaver on Ubuntu? There are four working routes: the official apt repository (best for updates), a direct .deb package, snap, or flatpak. This guide shows each one with current commands — including the modern signed-by keyring setup, because most tutorials ranking for this query still teach the apt-key command that Ubuntu deprecated years ago. We verified the repository metadata on 2026-08-03: it serves dbeaver-ce 26.1.4, matching the GitHub release.
- apt repo serves 26.1.4 (checked)
- .deb size 119.3 MB (verified)
- key is ASCII-armored → needs dearmor
- no Java setup — OpenJDK 21 bundled
Install DBeaver from the official apt repository
This is the method to learn how to install DBeaver on Ubuntu properly: it pins you to the vendor's own repository and turns every future release into a routine apt upgrade.
- Add the DBeaver signing key to a keyring. The official key is ASCII-armored, so it needs
gpg --dearmor:sudo mkdir -p /etc/apt/keyrings curl -fsSL https://dbeaver.io/debs/dbeaver.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/dbeaver.gpg
- Add the official repository with the signed-by option. The repo is a flat repository, which is why the line ends in a bare
/:echo "deb [signed-by=/etc/apt/keyrings/dbeaver.gpg] https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list
- Update the package index and install DBeaver.
sudo apt update sudo apt install dbeaver-ce
- Launch it. Run
dbeaver-cefrom a terminal or find “DBeaver Community” in your application launcher. Future releases arrive with a normalsudo apt upgrade.
Seeing tutorials that pipe the key into apt-key add? That command is deprecated and removed in current Ubuntu — the signed-by keyring above is the supported replacement.
Install the .deb package directly
For a single machine without adding a repository, download the official .deb (dbeaver-ce-26.1.4-linux-x86_64.deb, 119.3 MB, SHA-256 verifiable on our offline installer page) and let apt resolve its dependencies:
wget https://github.com/dbeaver/dbeaver/releases/download/26.1.4/dbeaver-ce-26.1.4-linux-x86_64.deb sudo apt install ./dbeaver-ce-26.1.4-linux-x86_64.deb
The trade-off: a .deb installed this way never updates automatically — you repeat the download for each new release (they ship every two to three weeks).
Snap and flatpak alternatives
sudo snap install dbeaver-ce # or flatpak install flathub io.dbeaver.DBeaverCommunity
Both update automatically and keep DBeaver isolated from the system. The important caveat is snap confinement: it can block access to ~/.ssh, which breaks SSH-tunnel database connections (see the FAQ below). Flatpak users can adjust permissions per-app with Flatseal.
| criteria | apt repo | direct .deb | snap | flatpak |
|---|---|---|---|---|
| Updates | with apt upgrade | manual re-download | automatic | automatic |
| Source | dbeaver.io (official) | GitHub release (official) | Snap Store | Flathub |
| SSH keys access | normal | normal | confined — can block ~/.ssh | configurable |
| Best for | daily driver machines | offline / one-off installs | hands-off updates | sandbox-first setups |
Troubleshooting an Ubuntu DBeaver install
Missing GTK libraries on minimal installs
DBeaver needs GTK 3. On a minimal Ubuntu 24.04 install add it with sudo apt install libgtk-3-0t64 (on 22.04 and earlier the package is named libgtk-3-0).
apt reports a missing Release file
The repo line must end with a literal space-slash (flat repository). Re-check /etc/apt/sources.list.d/dbeaver.list against step 2 above.
dbeaver-ce: command not found after snap install
Open a new shell so /snap/bin is on your PATH, or launch it from the desktop application grid.
That covers how to install DBeaver on Ubuntu end to end. For Windows and macOS, see the main install guide; the system requirements page lists what the machine itself needs.
Installing DBeaver on Ubuntu: FAQ
What is the best way to install DBeaver on Ubuntu?
The official apt repository. It is hosted on dbeaver.io itself, uses a signed flat repo, and upgrades DBeaver with the rest of your system via apt upgrade. Use the .deb only for one-off installs, and snap or flatpak if you prefer sandboxed apps.
Is the DBeaver apt repository official?
Yes. The repository at dbeaver.io/debs/dbeaver-ce is hosted on the vendor's own domain and signed with their PGP key. We fetched its package index on 2026-08-03 and it served dbeaver-ce 26.1.4 — the same version as the GitHub release.
Does this work on Ubuntu 22.04 as well as 24.04?
Yes. The commands above are release-independent — the same flat repository serves every supported Ubuntu and Debian version. Only the GTK package name in the troubleshooting section differs (libgtk-3-0 before 24.04, libgtk-3-0t64 from 24.04).
Why does the apt line end with just a slash?
Because DBeaver uses a flat repository — packages sit in the repo root instead of dists/suite subdirectories. The trailing "/" is the literal path, so apt error messages about a missing Release file usually mean the line was reformatted.
How do I update DBeaver on Ubuntu?
With the repo method, sudo apt update && sudo apt upgrade updates DBeaver like any package. A manually-installed .deb never auto-updates — you download and install the newer .deb yourself. Snap and flatpak refresh automatically.
How do I uninstall DBeaver from Ubuntu?
Run sudo apt remove dbeaver-ce (add --purge to drop package config), then optionally delete the repo list file and keyring, and remove your workspace at ~/.local/share/DBeaverData if you want connections and scripts gone too.
Why can snap DBeaver not see my SSH keys?
Snap's strict confinement isolates the app from dotfiles like ~/.ssh, which breaks SSH-tunnel connections that read your private key — a long-standing community-reported limitation. Use the apt repo or .deb install if you rely on SSH tunnels, or copy keys to a snap-readable path.
Is there an ARM build of DBeaver for Ubuntu?
Yes. An aarch64 .deb (118.3 MB, verified) is published with every release for ARM machines like Raspberry Pi 5 or ARM cloud desktops — the apt repository also serves it. Everything else on this page applies unchanged.
Written by the dbeaver.dev Team · updated · unofficial guide; commands verified against dbeaver.io repository metadata. Corrections: [email protected].