Skip to content

Commit ab3cc0e

Browse files
committed
Doc: Show how to install dbeaver in linux
1 parent 342597f commit ab3cc0e

File tree

5 files changed

+72
-0
lines changed

5 files changed

+72
-0
lines changed

Diff for: databases/access_postgresql/dbeaver.md

+72
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,75 @@ For reference, these are the topics we will cover in the entire database tutoria
2020
- [PostgreSQL Overview](postgresql.md)
2121
- [Install PostgreSQL](install_postgresql.md)
2222
- [Getting Started with PostgreSQL](getting_started_with_postgresql.md)
23+
24+
### Table of Contents
25+
26+
Throughout this article, we will look at how to:
27+
28+
1. [Install DBeaver](#install-dbeaver)
29+
30+
31+
## Install DBeaver
32+
33+
DBeaver is free and open source universal database tool for developers and database administrators. It supports several databases including MySQL, Oracle and Postgresql. It can be used as an alternative of MySQL-Workbench and PGAdmin. It has a user-friendly interface that makes it more useful for its new users. Using DBeaver, you can create local databases and also configure the maximum result size to avoid session hanging issues in case the query results take time to process big queries. The community edition of DBeaver is free, though if you'd like to do NoSQL then you may opt for the enterprise version.
34+
35+
### Using the Terminal
36+
37+
OpenJDK is the default Java development and runtime available on Debian repository. Run the following commands to have Java installed and set as default Java on your Ubuntu:
38+
39+
```python
40+
sudo apt update
41+
sudo apt -y install default-jdk
42+
```
43+
44+
Once that is done, you can check the version by running:
45+
46+
```python
47+
$ java --version
48+
49+
# Output
50+
51+
openjdk 11.0.16 2022-07-19
52+
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
53+
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
54+
```
55+
56+
Add DBeaver repository to your Debian / Ubuntu by running the commands below:
57+
58+
```python
59+
wget -O - https://dbeaver.io/debs/dbeaver.gpg.key | sudo apt-key add -
60+
61+
echo "deb https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list
62+
```
63+
64+
After adding the repo, update the apt list and install DBeaver CE:
65+
66+
```python
67+
sudo apt update
68+
69+
sudo apt install dbeaver-ce
70+
```
71+
72+
73+
Once the installation is complete, you can start DBeaver by typing `dbeaver-ce` in the terminal. You should see DBeaver launching.
74+
75+
![DBeaver Terminal Launch](/images/databases/postgresql/dbeaver_terminal_launch.gif)
76+
77+
Or, you can simply search for DBeaver within your apps and click on it to launch.
78+
79+
![Lauch DBeaver from Apps](/images/databases/postgresql/launch_dbeaver_from_apps.gif)
80+
81+
82+
## Using the Installer
83+
84+
If you find using the terminal a bit technical, you can do the following:
85+
86+
Download the installer file from https://dbeaver.io/download/. Navigate to the Linux subsection and choose the _Linux Debian Package(installer)_.
87+
88+
![Linux Debian Installer](/images/databases/postgresql/linux_installer.png)
89+
90+
The file will be downloaded to your local machine storage. Double-click the downloaded file to start the installation. You will see this:
91+
92+
![Install DBeaver from Software Center](/images/databases/postgresql/install_dbeaver_software_center.png)
93+
94+
Click on "Install" to begin the installation process. Once done, you can open the app from within your list of desktop apps.
4.35 MB
Loading
Loading
9.24 MB
Loading

Diff for: images/databases/postgresql/linux_installer.png

41.5 KB
Loading

0 commit comments

Comments
 (0)