As the title suggests, in bash the commands uname -m
and arch
both return x86_64, suggesting to me that I'm on a 64bit OS and processor. But, when I use aptitude
or apt-get
to install the package mongodb-10gen, the 32-bit version is installed.
So, I tried downloading the 64bit tarball:
curl http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.4.4.tgz > mongodb.tgz
tar -zxvf mongodb.tgz
But then, when I try to run one of the executables therein (from within the untarred directory) ./bin/mongo
, the response is "No such file or directory." The case is the same for all of the executables in the bin directory, though they very clearly DO exist.
What's going on here? Is uname -m
misreporting the OS?
Update I know permissions aren't the problem. I ran chown -R myusername mongodb/
and chmod -R 777 mongodb/
with mongodb/
being where I moved the untarred directory to.