Unable to install Mongo 6.0.6 on RHEL9 ARM based system

I did not thought at that and it worked like a charm I have now here /etc/yum.repos.d/mongodb-org-6.0.repo the following input:

[mongodb-org-6.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/6.0/aarch64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc

[mongodb-org-tools-6.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/6.0/arm64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc

I don’t know if there is a better way to do this, but now with just the sudo yum install -y mongodb-org command everything got installed just fine.
Thanks you @chris for answering.

1 Like