
Reduced time to results due to high performance and microsecond latency.That should remove any inconsistency and then go to and follow the procedure. If that doesn't solve it then run sudo apt purge mongod* In my case, I'm using Linux Mint 17 -> Ubuntu 14.04 and I was installing with Ubuntu 16.04 resulting in this conflict.Ĭheck your Ubuntu/Debian version - the wiki is a useful resource - before trying these commands.

Getting Error while installing mongodb in linux You can check it by using the below command: mongo -version You are done with the installation of mongodb. You need to first uninstall the mongodb, you can use: sudo apt-get purge mongodb-org*Īfter this, install mongodb through the following commands: sudo apt-get install mongodb Unable to install mongodb properly on ubuntu 18.04 LTS To start MongoDB run: sudo service mongod start Then start installing with the following commands: Run these commands in Terminal ( Ctrl + Alt + T): Steps to install MongoDB Community Edition on Ubuntu 16.04 You can do it by executing following command: mongod -port 27017 -dbpath You need to first start mongo server at port 27017. Why is it giving me active:failed error while installation of mongodb on my ubuntu 16.04 LTS? tgz Tarball, as specified in Install MongoDB Community on Ubuntu using. Thus, you won't be able to install MongoDB 5.0 (I assume that's what you are trying to do) from the official repository however you can install the software using a. The last release of MongoDB for Xenial was MongoDB 4.4, as seen in the software's repository for Xenial.

I can’t install mongodb: E: Unable to locate package mongodb-org
