Odinstaluj MongoDB Ubuntu
sudo apt-get purge mongodb-org*
Attractive Alpaca
sudo apt-get purge mongodb-org*
//To uninstall mongodb.
sudo apt-get purge mongodb-org*
//To remove mongodb Completely.
sudo apt-get install mongodb-org --fix-missing --fix-broken
sudo apt-get autoremove mongodb-org --fix-missing --fix-broken
sudo apt-get install mongodb-org --fix-missing --fix-broken
sudo apt-get autoremove mongodb-org --fix-missing --fix-broken
sudo systemctl start mongod
sudo systemctl stop mongod
sudo rm -r /var/log/mongodb
sudo rm -r /var/lib/mongodb
sudo yum erase $(rpm -qa | grep mongodb-enterprise)