How to Install DBeaver Community Edition on Chromebook


If you use a Chromebook for programming, database administration, or SQL development, DBeaver Community Edition is a powerful free and open-source database management tool.

In this guide, we will install DBeaver CE on Chromebook using the built-in Linux development environment (Crostini). The method uses the official DBeaver APT repository and is suitable for Debian-based Linux containers.

What Is DBeaver?

DBeaver Community Edition is a universal database management tool that supports many popular database systems, including:

DBeaver provides a graphical interface for creating databases, running SQL queries, browsing tables, and managing database connections.

Requirements

Before starting, make sure that:

  • Your Chromebook supports Linux development environment.
  • Linux is enabled under ChromeOS Settings → About ChromeOS → Linux development environment.
  • Your Linux container has an active internet connection.
  • You have enough storage space for DBeaver and its dependencies.

Step 1 — Update the Linux System

Open the Terminal application on your Chromebook and run:

sudo apt update

Then upgrade the installed packages:

sudo apt upgrade -y

This ensures that your Debian Linux environment is up to date before installing DBeaver.

Step 2 — Install Required Packages

Install wget, gnupg, and ca-certificates:

sudo apt install -y wget gnupg ca-certificates

These packages are required to download and verify the DBeaver repository.

Step 3 — Create the Keyring Directory

Create the directory used to store the repository signing key:

sudo mkdir -p /usr/share/keyrings

Step 4 — Add the Official DBeaver GPG Key

Download the official DBeaver repository signing key:

sudo wget -q -O /usr/share/keyrings/dbeaver.gpg.key https://dbeaver.io/debs/dbeaver.gpg.key

The key allows APT to verify packages downloaded from the DBeaver repository.

Step 5 — Add the DBeaver Repository

Add the official DBeaver Community Edition repository:

echo "deb [signed-by=/usr/share/keyrings/dbeaver.gpg.key] https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list

This tells Debian where to find the DBeaver Community Edition packages.

Step 6 — Update Package Lists

After adding the repository, run:

sudo apt update

APT should now detect the DBeaver repository.

Step 7 — Install DBeaver Community Edition

Install DBeaver CE:

sudo apt install -y dbeaver-ce

Wait until the installation finishes.

Step 8 — Launch DBeaver with Debug Mode

To launch DBeaver from the Terminal and see diagnostic information, run:

dbeaver --debug

The first startup may take a little longer while DBeaver creates its configuration files and initializes the workspace.

You can also try launching it normally:

dbeaver

If DBeaver Opens and Immediately Closes

If DBeaver starts and then closes, running it with debug mode is useful:

dbeaver --debug

Look for errors related to:

  • Java
  • GTK
  • OpenGL
  • SWT
  • Missing shared libraries
  • Display or X11 problems

You can also check whether Java is available:

java --version

If Java is missing, install the Debian default Java runtime:

sudo apt install -y default-jre

Then verify:

java --version

After that, try:

dbeaver --debug

Launch DBeaver from the ChromeOS App Launcher

After a successful installation, DBeaver should normally appear in the Linux Apps section of the ChromeOS launcher.

You can launch it from:

ChromeOS Launcher → Linux Apps → DBeaver

Alternatively, launch it from Terminal:

dbeaver

Connect DBeaver to a Database

After DBeaver opens:

  1. Click New Database Connection.
  2. Select your database engine.
  3. Enter the database host.
  4. Enter the port.
  5. Enter your username.
  6. Enter your password.
  7. Click Test Connection.
  8. Download the required database driver if DBeaver asks.
  9. Click Finish.

You can then browse databases, tables, views, and other database objects directly from the DBeaver interface.

Complete Installation Commands

For convenience, here are all the commands in one block:

sudo apt update
sudo apt upgrade -y
sudo apt install -y wget gnupg ca-certificates
sudo mkdir -p /usr/share/keyrings
sudo wget -q -O /usr/share/keyrings/dbeaver.gpg.key https://dbeaver.io/debs/dbeaver.gpg.key
echo "deb [signed-by=/usr/share/keyrings/dbeaver.gpg.key] https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list
sudo apt update
sudo apt install -y dbeaver-ce
dbeaver --debug

Conclusion

DBeaver Community Edition can be installed on a Chromebook through the Linux development environment using the official DBeaver APT repository. This provides a convenient graphical database management tool for working with SQL databases directly from ChromeOS.

If DBeaver does not start correctly, use:

dbeaver --debug

The terminal output can help identify missing Java packages, graphical dependencies, or other Linux container issues.

Post a Comment

0 Comments