January 26, 2022
How to install MongoDB Compass on Rocky Linux 8

How To Install MongoDB Compass On Rocky Linux 8

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).

Software Requirements

MongoDB Compass requires:

  • 64-bit version of RHEL 7+ or later.
  • MongoDB 3.6 or later.

Download and Install Compass

To download Compass on Linux systems, we will use wget.

1. Download MongoDB Compass

wget https://downloads.mongodb.com/compass/mongodb-compass-1.28.4.x86_64.rpm
ramansah@otodiginet ~]$ which 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)...,,, ...
Connecting to downloads.mongodb.com (downloads.mongodb.com)||: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.

MongoDB Compass icon
MongoDB Compass icon
MongoDB Compass Dashboard
MongoDB Compass Dashboard
MongoDB Make a New Connection
MongoDB Make a New Connection
MongoDB Compass | Showing database
MongoDB Compass | Showing database


So far, we have shown you how to install MongoDB Compass version 1.28.4 on Rocky Linux 8 operating system.

Share this article via :

Leave a Reply

Your email address will not be published. Required fields are marked *