📜  dbeaver install - Shell-Bash (1)

📅  最后修改于: 2023-12-03 15:00:21.929000             🧑  作者: Mango

DBeaver Install

DBeaver is a universal database client that supports popular databases including MySQL, PostgreSQL, Oracle, SQLite, and more. It allows developers to manage their databases efficiently, providing features such as SQL editor with syntax highlighting, data import/export, and many more. In this tutorial, we will explore how to install DBeaver on your machine.

Installation Steps
Step 1: Install Java

DBeaver requires Java to run, so let's install Java first. Run the following command to check if you have Java installed on your machine:

java -version

If Java is not installed, follow these steps to install Java:

  • Ubuntu/Debian:

    sudo apt update && sudo apt install default-jdk
    
  • CentOS/RHEL/Fedora:

    sudo dnf update && sudo dnf install java-latest-openjdk
    
Step 2: Download DBeaver

Head over to the DBeaver website and download the appropriate package for your OS.

Step 3: Install DBeaver

Once the download is complete, unpack the downloaded archive:

tar -xvf dbeaver-ce-<VERSION>-linux.gtk.x86_64.tar.gz

Move the unpacked directory to your desired location:

sudo mv dbeaver /opt/dbeaver

Create a desktop entry for DBeaver:

sudo nano /usr/share/applications/dbeaver.desktop

Add the following to the file:

[Desktop Entry]
Name=DBeaver
Comment=Universal Database Client
Exec=/opt/dbeaver/dbeaver
Icon=/opt/dbeaver/icon.xpm
Terminal=false
Type=Application
Categories=Development;GTK;Database;

Save and exit the editor.

Step 4: Launch DBeaver

You can now launch DBeaver from the application menu or by running the following command:

dbeaver
Conclusion

In this tutorial, we learned how to install DBeaver on Linux. We hope this will be useful for your future database management.