Install MongoDB 3.2 or higher on Raspberry pi 3 (Debian 9 (stretch))

install mongodb on raspberry pi 4
mongodb raspberry pi
install mongodb stretch
mongodb 3.2 debian
mongodb debian buster
mongodb 3.4 raspberry pi
mongodb raspberry pi 2
debian mongodb-org : depends: mongodb-org-server but it is not going to be installed

I'm trying to get a newer version of MongoDB on my Raspberry Pi 3.

I've installed mongodb by:

sudo apt-get install mongodb

The mongodb version is 2.4.14.

The mongodb queries I'm using, require MongoDB version 3.2 or higher.

To get a newer version I've removed the old mongodb and done the following:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update

When I run the apt-get update I get the following error:

N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 InRelease' doesn't support architecture 'armhf'

My OS informations on my raspberry pi:

Linux myRaspberryPi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian

I'm running raspbian (which is a 32 bit system) and the raspberry pi's CPU has 64 bit.

I'm a bit lost and tried to follow a lot of guides but all with the same result - I can't seem to get a new version of MongoDB on my raspberry pi. Does anyone know if this is possible?

Ubuntu 18.04.2 is now available in an arm64 image which works great on the raspberry pi 3 B+ hardware. The OS is 64 bit Ubuntu, and it installs the latest MongoDB in 64 bit on the raspberry pi. See here for instructions: https://wiki.ubuntu.com/ARM/RaspberryPi

Also see here: https://andyfelong.com/2019/03/mongodb-4-0-6-64-bit-on-raspberry-pi-3/

If you need compatibility for armhf software, you can install the armhf libraries manually using these commands. This will allow you to install software designed for armhf on your Ubuntu arm64 OS.

# install armhf libraries on arm64
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install libc6:armhf -y
sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
sudo apt-get install libstdc++6:armhf

armhf library install commands from here

mongodb, Install MongoDB 3.2 or higher on Raspberry pi 3 (Debian 9 (stretch)). 发表于 2017-12-09 18:43:19. 活跃于 2019-05-18 14:39:08. 查看10200 次. mongodb� Install MongoDB on Debian 9 Stretch Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal: apt-get update apt-get upgrade

As specified in your error. You need a version compiled for a arm processor.

doesn't support architecture 'armhf'

The versions available on the following links are not compiled for your raspberry pi architecture.

DEBIAN: http://repo.mongodb.org/apt/debian/ UBUNTU: http://repo.mongodb.org/apt/ubuntu

and only work on below types of processors

binary-amd64 binary-i386 binary-ppc64el

A workaround would be to compile mongodb on your raspberry pi yourself.

Compile and install MongoDB on Raspberry PI

MongoDB 3.2 or higher on Raspberry Pi 3, Once you depart from stable software releases all bets are off. It may require newer version of libraries which are incompatible with the rest of the installed� In this tutorial, we will show you how to install and configure the latest version of MongoDB Community Edition on a Debian 9 systems from the official MongoDB repositories. Prerequisites # Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges .

If this helps, I've created a Docker Image with MongoDB 3.0.14 on Raspbian Stretch and tested on Raspberry Pi 3. Read the install details here https://github.com/andresvidal/rpi3-mongodb3 and https://hub.docker.com/r/andresvidal/rpi3-mongodb3/

MongoDB 3.0.9 binaries for Raspberry Pi 2 & 3 (Jessie , MongoDB 3.0.9 binaries for Raspberry Pi 2 & 3 (Jessie) NEW: I have also created 3.0.14 binaries for the R-Pi 3 running Raspbian Stretch that will wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1e-2% How do I install mongodb on a external hard drive? FindAsync(filter)) Is it possible to install a mongo db version greater than 3.2 on raspberry pi with RASPBIAN JESSIE LITE installed on the pi? I only succeed to have the version 2.1 using this tutorial.

You can try this, they have binaries for Pi 3 and 2 https://www.mongo-pi.com/

How to install MongoDb 3.6 in the Debian 9 Stretch (Raspberry Pi 3 , How do you install MongoDb 3.6 in the Debian 9 Stretch (Raspberry Pi 3)?. 2 Answers. Awatansa Vishwakarma, lives in Bhilai, Chhattisgarh,� Dear Andy. Thank you very much for provisioning MongoDB 3.x for the Raspberry Pi with Raspbian Stretch. I would like to start a new Project with node.js and MongoDB. Unfortunately the versions of the mongoDB-Driver for node.js and MongoDB – which are part of the original images (11.2018]) – are old and do not work together.

How to Install MongoDB on Debian 9, In this tutorial you will install MongoDB, manage its service, and optionally enable remote access. deb http://repo.mongodb.org/apt/debian stretch/ mongodb-org/4.0 main Step 3 — Managing the MongoDB Service You can find more in-depth tutorials on how to configure and use MongoDB in these� Platform Support¶. MongoDB 4.4 Community Edition supports the following 64-bit Debian releases on x86_64 architecture: Debian 10 “Buster” Debian 9 “Stretch” MongoDB only supports the 64-bit versions of these platforms.

MongoDB on Stretch - E- Unable to locate package , Has anyone come across this error with an install on stretch and found MongoDB 4.2 only provides packages for 64-bit builds of Debian 9 https:// andyfelong.com/2019/03/mongodb- erry-pi-3/, and later upgraded to 4.2. I'm using Debian 9 Stretch. I downloaded this version of MongoDB: Linux 64-bit legacy 64x I downloaded to my desktop folder, and renamed it to mongodb. After that, you "need" to move your recent renamed folder to /opt/

Raspbian Stretch has arrived for Raspberry Pi, Introducing the Raspbian Stretch upgrade for Raspberry Pi - with lots of Those of you who know that Debian run their releases on a two-year you were wondering: Stretch is a purple octopus from Toy Story 3. PulseAudio is therefore no longer installed by default, and the 18th August 2017, 9:11 pm. You didn't specify OS requirement, though you hint at using Raspbian. Another option is to use ArchLinux ARM.Arch always has the most up-to-date software available, great support for ARM and for things not available in the official repository, the Arch User Repository.

Comments
  • Please put your answer always in context instead of just pasting links, which might not work in near of far future anymore. See here for more details.