Install Mongodb manually on 32bit system

I followed the instructions here to install mongodb-org 3.0 on a 32 bit system.

However, when I run mongo --version I get:

bash: /usr/bin/mongo: Not a directory

Why is it looking in /usr/bin/mongo instead of calling it from PATH? How can I get this to work?

7

1 Answer

To summarize based on the comments and pointers provided, the solution was to add export PATH=<mongodb-install-directory>/bin:$PATH to my ~/.bashrc file and then source it: source ~/.bashrc

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like