📅  最后修改于: 2023-12-03 15:00:21.929000             🧑  作者: Mango
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.
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
Head over to the DBeaver website and download the appropriate package for your OS.
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.
You can now launch DBeaver from the application menu or by running the following command:
dbeaver
In this tutorial, we learned how to install DBeaver on Linux. We hope this will be useful for your future database management.