Mongo 4.4 install problem on 9.2

Hi, I’m trying to install mongo 4.4 using this guide

How to Install MongoDB on Rocky Linux 9: A Step-by-Step Tutorial (

I created the repo file, and when I try to install

sudo dnf install -y mongodb-org
Last metadata expiration check: 0:18:32 ago on Mon 13 Nov 2023 10:00:00 PM +08.
No match for argument: mongodb-org
Error: Unable to find a match: mongodb-org

sudo dnf repolist
repo id repo name
appstream Rocky Linux 9 - AppStream
baseos Rocky Linux 9 - BaseOS
epel Extra Packages for Enterprise Linux 9 - x86_64
epel-cisco-openh264 Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64
extras Rocky Linux 9 - Extras
mongodb-org-4.4 MongoDB Repository

I can install mongo 6 fine with same method. I see in mongo repo has for 4.4 for redhat 9

MongoDB Repositories

If dnf cannot see mongodb-org, then what does it see?

dnf list mongo\*

(Browsing the URL of the repo says: no org here.)

If the writer of guide has seen mongodb-org-4.4, but the same repo now does not have it, then maintainers of the repo have removed the packages for some reason. You should ask them about it?

dnf list mongo*
Last metadata expiration check: 0:45:19 ago on Mon 13 Nov 2023 10:23:53 PM +08.
Available Packages
mongo-c-driver.x86_64 1.24.3-1.el9 epel
mongo-c-driver-devel.x86_64 1.24.3-1.el9 epel
mongo-c-driver-libs.x86_64 1.24.3-1.el9 epel
mongocli.x86_64 1.31.0-1 mongodb-org-4.4mongodb-atlas.x86_64 1.12.2-1 mongodb-org-4.4mongodb-atlas-cli.x86_64 1.12.2-1 mongodb-org-4.4mongodb-database-tools.x86_64 100.9.1-1 mongodb-org-4.4mongodb-mongosh.x86_64 2.0.2-1.el8 mongodb-org-4.4mongodb-mongosh-shared-openssla11.x86_64 2.0.2-1.el8 mongodb-org-4.4mongodb-mongosh-shared-openssl3.x86_64 2.0.2-1.el8 mongodb-org-4.4

That output looks odd. The three mongo-c-* packages look as expected, with format:
name.arch version repoid

but the rest is a mess and there are even couple “el8” that definitely should not show in el9 system.

Note also that dnf list mongo\* and dnf list mongo* are potentially different commands. For the latter the bash can expand the glob (mongo*) to filenames in current directory. One does not want to pass filenames to dnf list.

I did dnf list mongo*, I guess when I paste back here, it got lost.

It seems that mongo4.4 does not support v9, only 8. Strangely, I could find a guide on it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.