I’m working my way through the backend challenges but I’ve hit a road block trying to install MongoDB in my Cloud 9 environment. I followed the course instructions:
sudo apt-get install mongodb-org
But apparently the apt-get command has been replaced with yum on Amazon Linux, but that command does not work either, returning
No package mongodb-org available.
Error: Nothing to do
I’ve tried simply using
npm install mongodb, mongod, mongodb-org but none of them seem to work. I’ve followed several guides (https://community.c9.io/t/setting-up-mongodb/1717)(https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb) to no avail.
I saw a post on the same subject and the poster seemed to have resolved the issue but did no specify how. I’m totally stumped and if anyone could help me figure out what I’m doing wrong it would be much appreciated.