Ubuntu – Download mongodb compass and Install Using the Terminal

lubuntumongodbsoftware installation

I tried to follow the commands based on this link Download and Install Compass — MongoDB Compass stable

I have downloaded the package mongodb-compass_1.15.1_amd64.deb and tried installing using

sudo dpkg -i mongodb-compass_1.15.1_amd64.deb;

But I'm getting dependency problems:

(Reading database ... 195489 files and directories currently installed.)
Preparing to unpack mongodb-compass_1.15.1_amd64.deb ...
Unpacking mongodb-compass (1.15.1-1) ...
dpkg: dependency problems prevent configuration of mongodb-compass:
 mongodb-compass depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.

dpkg: error processing package mongodb-compass (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 mongodb-compass

How do I fix installation error in Ubuntu?

Best Answer

I encountered the same error. However, when I installed it using Software Center it was successfully installed. To install it using Software Center, double click on the .deb package and Click install.

Related Question