How to Uninstall Dbeaver?

How to Uninstall Dbeaver?

I download Dbeaver from the site, the Enterprise Edition and installed it using

sudo dpkg -i dbeaver-ee_5.0.1_amd64.deb

now I have tried uninstalling/removing it using the bellow commands

sudo dpkg -r dbeaver-ee_5.0.1_amd64

or

sudo apt-get remove dbeaver 

as suggested in some sites,but I get error messages as

warning: ignoring request to remove dbeaver-ee_5.0.1_amd64 which isn't installed

and

Package 'dbeaver' is not installed, so not removed

the dbeaver exists in

/usr/bin/dbeaver
/usr/bin/X11/dbeaver
/usr/share/dbeaver

5 Answers

I had dbeaver-ce_xxx, and I tried both of:

sudo dpkg --purge dbeaver
sudo dpkg --purge dbeaver-ce_xxx

Both got the same result. It was not removed.

However, if (also per Aditya's suggestion) I tried just:

sudo dpkg --purge dbeaver-ce

Then it was removed.

Granted, I had to remove some folders under /usr/share/dbeaver, but that was only because I had put some files there that were not in the original installation.

Just a data point. Maybe it will help with dbeaver-ee.

I had to uninstall it with snap using the following command

snap remove dbeaver-ce

I did it with running command:

sudo dpkg -r dbeaver-ce

Note: I have run this from the same directory where i have run

sudo dpkg -i dbeaver-ce_6.2.3_amd64.deb

You can use below commands

dpkg --purge package_name

--purge will remove all configuration files.

Updated : You can remove the package file in director /var/lib/dpkg/info/ and update source.

rm /var/lib/dpkg/info/[package_name].*
dpkg --configure -a
apt-get update

Then, reinstall your package:

You can read this.

3

None of these completely worked for me. I needed to delete configuration files (workspaces) that should be removed with an uninstall but are not.

Yes, to remove DBeaver and all associated configuration files:

sudo apt purge dbeaver-ce

OR (I found it no difference in using dpkg):

sudo dpkg --purge dbeaver-ce

THEN

Purges are useless against these files, so you have to remove them yourself.

rm -rf ~/.local/share/DBeaverData

Also note that you'll want to remove any workspace files in your $HOME directory:

rm -rf ~/*workspace6 

DBeaver devel team decided to something awesome and brilliant, which was to store prefs in the ~/.eclipse directory. So you'll need to delete that too.

rm -rf ~/.eclipse

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.