Issue
I want to install dbeaver on virtual machine that using linux (maybe) following this step https://computingforgeeks.com/install-and-configure-dbeaver-on-ubuntu-debian/
i try to execute this code
wget -O - https://dbeaver.io/debs/dbeaver.gpg.key | sudo apt-key add -
echo "deb https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list
but there is error occured that the apt-get command not found because the apt not installed. I want to use another alternative code by using yum because my computer has installed it. But i dont know how to replace the code above?
so, anyone have any idea to install this software alternatively?
By the way i have installed postgreSQL server to use in dbeaver following this step https://computingforgeeks.com/how-to-install-postgresql-13-on-centos-7/ and it worked
thank in advance
Solution
You can try following this guide: Install and Configure dBeaver on Fedora CentOS, in particular this line is how they installed dbeaver and the gpg keys appeared to have been checked as a part of the installation process:
sudo rpm -Uvh ./dbeaver-ce-latest-stable.x86_64.rpm
Since it looks like with yum you don't need to manually add the key to your keychain like the debian instructions had you doing, the keys appear to be managed more automatically through RPM.
Here is a description of how yum and rpm are related in particular:
[Yum] mainly functions on RPM-based Linux systems and is dependent on RPM for performing its function but is also used for the management, installation and up-gradation of the packages in RPM-based Linux systems.
This also explains why people were commenting that it appears your VM is rpm based vs ubuntu/debian based.
Answered By - lizzydev