Skip to content

Commit 96b8cf2

Browse files
authored
DOCSP-36565 fixing mongosh installation .repo file (#317)
* DOCSP-36565 fixing mongosh installation .repo file * DOCSP-36565 copy edit * DOCSP-36565 tech edit * DOCSP-36565 tech edit
1 parent da8dbc7 commit 96b8cf2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/includes/steps-install-shell-linux-rpm.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,22 @@ content: |
5050
5151
[mongodb-org-{+mdb-version+}]
5252
name=MongoDB Repository
53-
baseurl=https://repo.mongodb.org/yum/amazon/$releasever/mongodb-org/{+mdb-version+}/$basearch/
53+
baseurl=https://repo.mongodb.org/yum/amazon/2023/mongodb-org/{+mdb-version+}/$basearch/
5454
gpgcheck=1
5555
enabled=1
5656
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
5757
58+
.. note::
59+
60+
If your system uses Amazon Linux 2, replace ``2023`` with
61+
``2`` in the baseurl.
62+
5863
You can also download the ``.rpm`` files directly from the
5964
`MongoDB repository
6065
<https://repo.mongodb.org/yum/amazon/>`__. Downloads are
6166
organized in the following order:
6267
63-
1. Amazon Linux version (for example, ``2``)
68+
1. Amazon Linux version (for example, ``2023``)
6469
6570
#. MongoDB :manual:`release version </reference/versioning>`
6671
(for example, ``{+mdb-version+}``)

0 commit comments

Comments
 (0)