Skip to content

Installing Percona Server for MongoDB from Binary Tarball

You can find links to the binary tarballs under the Generic Linux menu item on the Percona website


The following packages are required for the installation.

  • libcurl4

  • libsasl2-modules

  • libsasl2-modules-gssapi-mit

Check that they are installed in your operating system. Otherwise install them.


  1. Fetch and extract the binary tarball. For example, if you are running Debian 10 (“buster”), use the following command:

    $ wget\
    $ wget
  2. Extract the tarballs:

    $ tar -xf percona-server-mongodb-6.0.2-1-x86_64.glibc2.17.tar.gz
    $ tar -xf percona-mongodb-mongosh-1.6.0-x86_64.tar.gz
  3. Add the location of the binaries to the PATH variable:

    $ export PATH=~/percona-server-mongodb-6.0.2-1/bin/:~/percona-mongodb-mongosh-1.6.0/bin/:$PATH
  4. Create the default data directory:

    $ mkdir -p /data/db
  5. Make sure that you have read and write permissions for the data directory and run mongod.