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 directoryWhy is it looking in /usr/bin/mongo instead of calling it from PATH? How can I get this to work?
71 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