In this tutorial we will learn how to install MongoDB Compass version 1.28.4 (stable version) on Rocky Linux 8.
MongoDB Compass is a graphical tool that allows us to easily analyse and understand our database schema, as well as allowing us to visually construct queries, all without having to know MongoDB’s query syntax.
MongoDB Compass was built to address 3 main goals:
- Schema discovery
- Data discovery
- Visual construction of queries
MongoDB Compass is available in several versions, described below.
- Compass. The full version of MongoDB Compass, with all features and capabilities.
- Readonly Edition. This version is limited strictly to read operations, with all write and delete capabilities removed.
- Isolated Edition. This version disables all network connections except the connection to the MongoDB instance.
MongoDB Compass Installation On Rocky Linux 8
To install MongoDB Compass on Rocky Linux 8, we just need wget command line to download MongoDB Compass package. We will download the latest stable MongoDB Compass (version 1.28.4).
MongoDB Compass requires:
- 64-bit version of RHEL 7+ or later.
- MongoDB 3.6 or later.
To download Compass on Linux systems, we will use
1. Download MongoDB Compass
ramansah@otodiginet ~]$ which wget /usr/bin/wget [ramansah@otodiginet ~]$ wget https://downloads.mongodb.com/compass/mongodb-compass-1.28.4.x86_64.rpm --2021-10-08 21:49:38-- https://downloads.mongodb.com/compass/mongodb-compass-1.28.4.x86_64.rpm Resolving downloads.mongodb.com (downloads.mongodb.com)... 126.96.36.199, 188.8.131.52, 184.108.40.206, ... Connecting to downloads.mongodb.com (downloads.mongodb.com)|220.127.116.11|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 105967148 (101M) [application/octet-stream] Saving to: ‘mongodb-compass-1.28.4.x86_64.rpm’ mongodb-compass-1.28.4.x86 100%[=======================================>] 101.06M 1.29MB/s in 53s 2021-10-08 21:50:33 (1.90 MB/s) - ‘mongodb-compass-1.28.4.x86_64.rpm’ saved [105967148/105967148]
2. Install MongoDB Compass
sudo dnf install mongodb-compass-1.28.4.x86_64.rpm
3. Start MongoDB Compass
The application can be called by typing command line mongodb-compass or by clicking MongoDB Compas via application manager.
So far, we have shown you how to install MongoDB Compass version 1.28.4 on Rocky Linux 8 operating system.