MongoDB Documentation, Release 3.0.4 Step 2: Extract the files from the downloaded archive. For example, from a system shell, you can extract through the tar command: Step 3: Copy the extracted archive to the target directory. Copy the extracted folder to the location from which MongoDB will run. Step 4: Ensure the location of the binaries is in the PATH variable. The MongoDB binaries are in the bin/ directory of the archive. To ensure that the binaries are in your PATH , you can modify your PATH . For example, you can add the following line to your shell’s rc file (e.g. ~/.bashrc ): Replace <mongodb-install-directory> with the path to the extracted MongoDB archive. Step 1: Download the binary files for the desired release of MongoDB. Download the binaries from https://www.mongodb.org/downloads . For example, to download the latest release through the shell, issue the following: .. include:: /includes/release/curl- release-linux-i686.rst For example, you can add the following line to your shell’s rc file (e.g. ~/.bashrc ): Install for 32-bit Linux Step 2: Extract the files from the downloaded archive. For example, from a system shell, you can extract through the tar command: Step 3: Copy the extracted archive to the target directory. Copy the extracted folder to the location from which MongoDB will run. Step 4: Ensure the location of the binaries is in the PATH variable. The MongoDB binaries are in the bin/ directory of the archive. To ensure that the binaries are in your PATH , you can modify your PATH . Replace <mongodb-install-directory> with the path to the extracted MongoDB archive. export PATH=<mongodb-install-directory>/bin:$PATH export PATH=<mongodb-install-directory>/bin:$PATH tar -zxvf mongodb-linux-x86_64-3.0.4.tgz mkdir -p mongodb cp -R -n mongodb-linux-x86_64-3.0.4/ mongodb tar -zxvf mongodb-linux-i686-3.0.4.tgz mkdir -p mongodb cp -R -n mongodb-linux-i686-3.0.4/ mongodb 2.3. Installation Guides 23 Run MongoDB