OSMC + Mongodb


I have a raspberry Pi 2B running osmc and i wanted to host a small web site in node and mongo on it but i am not able to install mongodb.
I tried tu use both debian 7 “wheezy” but it does not work:


Step 2 seems to work fine:
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

but when i do the step 3
sudo apt-get update
i encounter an error:

Failed to fetch http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/Release Unable to find expected entry ‘main/binary-armhf/Packages’ in Release file (Wrong sources.list entry or malformed file)

I also find this blog post about installing mongo on debian Jessie but i face the same problem.

Can you tell me what i am missing and if it is possible to install mongo on osmc distribution for raspberry pi?



I looked on my Pi running Ubuntu Mate, and only an older version of MondoDB is available (2.6.10).

You will probably have to download the source and build it yourself.