Install / Update Dbeaver Community on Ubuntu

Update: Turns out I was too eager to get the command line running. While it’s fine to have it perhaps for some systems, it is actually the case that Dbeaver has both a Debian repository and an Unbuntu PPA as I just learned:

sudo add-apt-repository ppa:serge-rider/dbeaver-ce
sudo apt-get update
sudo apt-get install dbeaver-ce

It’s all on the download page [2] and all you need is to have the patience to scroll down (or Ctrl+F).

Highly recommended as there are updates often, it’s perhaps worth to schedule the downloads in the background as the repository can be slow.


 

I recently started to use Dbeaver [1] on my Ubuntu system. It gets updated quite seriously and luckily there are releases with .deb packages, so the package manager can install and update them. And there is an URL redirecting always to the lastest version.

So her is my current state of the one-liner to run the upgrade when I get noticed:

$ sudo apt install "./$(
    curl -O "$(
      curl -sL -I -w '%{url_effective}' \
        https://dbeaver.io/files/dbeaver-ce_latest_amd64.deb \
    | tail -1 )" -w '%{filename_effective}'
  )"

Standard disclaimers apply, verify checksums and the yadda yadda, otherwise, you know, install as root from the internet has never let you down than once.

[1] https://dbeaver.io/

Advertisement
This entry was posted in Hakre's Tips, Tools, Uncategorized. Bookmark the permalink.

2 Responses to Install / Update Dbeaver Community on Ubuntu

  1. Injas Mahendra B says:

    thank you so much 🙂

  2. Milan says:

    This is very helpful, thank you very much :).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.