How to Install MongoDB on Arch Linux
Use MongoDB's pre-built binary. Use AUR package mongodb-bin
and possibly mongodb-tools-bin
. This skips the entire compilation stage, downloading a pre-built binary from mongodb.org, and packaging it with the necessary configuration files.
If during the installation you get ==> Error: Problem importing keys
like this:
-> 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2
You can solve it by running the following code:
After installing the package. Start/Enable the mongodb.service
daemon.
Test Connetions
To quit:
References:
Last updated