Docs Home → MongoDB Database Tools
Installing the Database Tools on Linux
On this page
Overview
The MongoDB Database Tools are a suite of command-line utilities for working with MongoDB. Use this guide to install the Database Tools on the Linux platform.
You can use the MongoDB Database Tools to migrate from a self-hosted deployment to MongoDB Atlas. MongoDB Atlas is the fully managed service for MongoDB deployments in the cloud. To learn more, see Seed with mongorestore. To learn all the ways you can migrate to MongoDB Atlas, see Migrate or Import Data.
Versioning
Starting with MongoDB 4.4, the MongoDB Database Tools are now released separately
from the MongoDB Server and use their own versioning, with an initial
version of 100.0.0
. Previously, these tools were released
alongside the MongoDB Server and used matching versioning.
For documentation on the MongoDB 4.2 or earlier versions of these tools, reference the MongoDB Server Documentation for that version of the tool:
Note
Quick links to older documentation
Compatibility
MongoDB Server Compatibility
MongoDB Database Tools version 100.9.0
supports the following versions
of the MongoDB server:
MongoDB 7.0
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
MongoDB 4.2
While the tools may work on earlier versions of MongoDB server, any such compatibility is not guaranteed.
Platform Support
The MongoDB Database Tools version 100.9.0
are supported on the following
platforms on the x86_64
architecture:
Amazon Linux 2 and 2013.03+
Debian 10, 9, and 8
RHEL / CentOS 8, 7, and 6
SUSE 12
Ubuntu 20.04, 18.04, and 16.04
In addition, the Database Tools also support select Linux platforms
on the arm64
, ppc64le
, and s390x
architectures. See
Supported Platforms for more
information.
Installation
The MongoDB Database Tools can be installed with your Linux distribution's package
manger or downloaded as a .tgz
archive. Select the appropriate tab
based on your Linux distribution and desired package from the tabs
below:
To install the
.deb
package on Ubuntu and Debian, click theDEB Package
tab.To install the
.rpm
package on RHEL / CentOS / SUSE, click theRPM Package
tab.To install the
.tgz
tarball, click theTGZ Archive
tab.