---
title: Install MongoDB on Linux | Snap Store
description: Get the latest version of MongoDB for Linux - MongoDB server for replicasets
  in a snap.
url: https://snapcraft.io/mongodb-server-replicaset
---

# MongoDB (mongodb-server-replicaset)

[Canonical Data Platform (dataplatformbot)](https://snapcraft.io/publisher/dataplatformbot "View all snaps from Canonical Data Platform (dataplatformbot)")

* [Canonical Data Platform (dataplatformbot)](https://snapcraft.io/publisher/dataplatformbot "View all snaps from Canonical Data Platform (dataplatformbot)")
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

8/stable 8.0.23-10

Install 8/stable of MongoDB

---

**Install using the command line**

```
sudo snap install mongodb-server-replicaset
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* mongodb-server-replicaset

---

### License

* Apache-2.0

---

### Last updated

* 20 August 2026 - 8/stable
* 16 October 2026 - 8/edge

---

### Websites

* [canonical.com](https://canonical.com/data/mongodb "https://canonical.com/data/mongodb")

---

### Contact

* [matrix.to](https://matrix.to/#/#charmhub-data-platform:ubuntu.com "https://matrix.to/#/#charmhub-data-platform:ubuntu.com")

---

### Source code

* [github.com/canonical/mongodb-artifacts](https://github.com/canonical/mongodb-artifacts "https://github.com/canonical/mongodb-artifacts")

---

### Report a bug

* [github.com/canonical/mongodb-artifacts/issues](https://github.com/canonical/mongodb-artifacts/issues "https://github.com/canonical/mongodb-artifacts/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/mongodb-server-replicaset#report-snap-modal)

---

* [Description](https://snapcraft.io/mongodb-server-replicaset#tab-description)
* [Security](https://snapcraft.io/mongodb-server-replicaset#tab-security)

#### MongoDB server for replicasets in a snap.

MongoDB is a source-available, cross-platform document database.
This snap packages MongoDB server, shell, and command-line tools
into a self-contained, strictly confined Ubuntu snap.

---

## Install MongoDB on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/mongodb-server-replicaset/arch)

[### CentOS](https://snapcraft.io/install/mongodb-server-replicaset/centos)

[### Debian](https://snapcraft.io/install/mongodb-server-replicaset/debian)

[### elementary OS](https://snapcraft.io/install/mongodb-server-replicaset/elementary)

[### Fedora](https://snapcraft.io/install/mongodb-server-replicaset/fedora)

[### KDE Neon](https://snapcraft.io/install/mongodb-server-replicaset/kde-neon)

[### Kubuntu](https://snapcraft.io/install/mongodb-server-replicaset/kubuntu)

[### Manjaro](https://snapcraft.io/install/mongodb-server-replicaset/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/mongodb-server-replicaset/pop)

[### openSUSE](https://snapcraft.io/install/mongodb-server-replicaset/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/mongodb-server-replicaset/rhel)

[### Ubuntu](https://snapcraft.io/install/mongodb-server-replicaset/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/mongodb-server-replicaset/raspbian)
