Skip to content

Commit 0eb70c4

Browse files
jeff-allen-mongoJeff AllenJeff Allen
authored
(DOCSP-12925): Refactor Linux Install (#307)
* (DOCSP-12925): Add sudo apt install steps for Compass * copy tweak Co-authored-by: Jeff Allen <[email protected]> Co-authored-by: Jeff Allen <[email protected]>
1 parent 415aa8f commit 0eb70c4

File tree

1 file changed

+84
-62
lines changed

1 file changed

+84
-62
lines changed

source/install.txt

Lines changed: 84 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Select your operating system:
1212

1313
.. _software-reqs:
1414

15-
Software Requirements
16-
---------------------
17-
1815
.. tabs-platforms::
1916

2017
tabs:
2118
- id: macos
2219
content: |
2320

21+
Software Requirements
22+
---------------------
23+
2424
|compass-short| requires:
2525

2626
- 64-bit version of macOS 10.12 or later.
@@ -29,6 +29,9 @@ Software Requirements
2929
- id: windows
3030
content: |
3131

32+
Software Requirements
33+
---------------------
34+
3235
|compass-short| requires:
3336

3437
- 64-bit version of Microsoft Windows 7 or later.
@@ -42,35 +45,51 @@ Software Requirements
4245
- id: linux
4346
content: |
4447

48+
Select the appropriate tab based on your Linux distribution and
49+
desired package from the tabs below:
50+
51+
- To install the ``.deb`` package on Ubuntu and Debian,
52+
click the ``.deb`` tab.
53+
54+
- To install the ``.rpm`` package on
55+
:abbr:`RHEL (Red Hat Enterprise Linux)`, click the ``.rpm``
56+
tab.
57+
4558
.. tabs::
4659

47-
.. tab:: Debian
60+
.. tab:: .deb
4861
:tabid: debian
4962

63+
Software Requirements
64+
---------------------
65+
5066
|compass-short| requires:
5167

5268
- 64-bit version of Ubuntu 14.04 or later.
5369
- MongoDB 3.6 or later.
5470

55-
.. tab:: RHEL
71+
.. tab:: .rpm
5672
:tabid: rhel
5773

74+
Software Requirements
75+
---------------------
76+
5877
|compass-short| requires:
5978

6079
- 64-bit version of RHEL 7+ or later.
6180
- MongoDB 3.6 or later.
6281

63-
Download Compass
64-
----------------
65-
66-
To download |compass-short|, you can use your preferred web browser.
67-
6882
.. tabs-platforms::
6983
:hidden:
7084

7185
.. tab::
7286
:tabid: macos
7387

88+
Download Compass
89+
----------------
90+
91+
To download |compass-short|, you can use your preferred web browser.
92+
7493
1. Open the {+download-page+}.
7594

7695
#. Download the latest version of |compass| for
@@ -80,6 +99,11 @@ To download |compass-short|, you can use your preferred web browser.
8099
.. tab::
81100
:tabid: windows
82101

102+
Download Compass
103+
----------------
104+
105+
To download |compass-short|, you can use your preferred web browser.
106+
83107
1. Open the {+download-page+}.
84108

85109
#. Select the installer you prefer. The |compass| installer is
@@ -92,38 +116,74 @@ To download |compass-short|, you can use your preferred web browser.
92116
.. tab::
93117
:tabid: linux
94118

119+
Download and Install Compass
120+
----------------------------
121+
122+
To download |compass-short| on Linux systems, use ``wget``.
123+
124+
.. note::
125+
126+
Alternatively, you can download |compass-short| from the
127+
MongoDB {+download-page+}.
128+
95129
.. tabs::
96130
:hidden:
97131

98132
.. tab:: Debian
99133
:tabid: debian
100134

101-
1. Open the {+download-page+}.
135+
1. Download |compass|
102136

103-
#. Download the latest version of |compass| for
104-
Ubuntu. The |compass| installer is a ``.deb``
105-
package.
137+
.. code-block:: shell
138+
139+
wget https://downloads.mongodb.com/compass/mongodb-compass_{+current-version+}_amd64.deb
140+
141+
142+
#. Install |compass|
143+
144+
.. code-block:: shell
145+
146+
sudo dpkg -i mongodb-compass_{+current-version+}_amd64.deb
147+
148+
#. Start |compass|
149+
150+
.. code-block:: sh
151+
152+
mongodb-compass
106153

107154
.. tab:: RHEL
108155
:tabid: rhel
109156

110-
1. Open the {+download-page+}.
157+
1. Download |compass|
111158

112-
#. Download the latest version of |compass| for Red Hat
113-
Enterprise Linux. The |compass| installer is a
114-
``.rpm`` package.
159+
.. code-block:: shell
115160

116-
.. _compass-install:
161+
wget https://downloads.mongodb.com/compass/mongodb-compass-{+current-version+}.x86_64.rpm
162+
163+
164+
#. Install |compass|
165+
166+
.. code-block:: shell
167+
168+
sudo yum install mongodb-compass-1.22.1.x86_64.rpm
117169

118-
Install Compass
119-
---------------
170+
#. Start |compass|
171+
172+
.. code-block:: sh
173+
174+
mongodb-compass
175+
176+
.. _compass-install:
120177

121178
.. tabs-platforms::
122179
:hidden:
123180

124181
.. tab::
125182
:tabid: macos
126183

184+
Install Compass
185+
---------------
186+
127187
1. Once you have downloaded |compass-short|, double-click on
128188
the ``.dmg`` file to open the disk image within the macOS
129189
Finder.
@@ -155,6 +215,9 @@ Install Compass
155215
.. tab::
156216
:tabid: windows
157217

218+
Install Compass
219+
---------------
220+
158221
1. Double-click the installer file.
159222

160223
#. Follow the prompts to install |compass-short|. You can
@@ -163,47 +226,6 @@ Install Compass
163226
#. Once installed, |compass-short| launches and prompts you to
164227
configure privacy settings and specify update preferences.
165228

166-
.. tab::
167-
:tabid: linux
168-
169-
.. tabs::
170-
:hidden:
171-
172-
.. tab:: Debian
173-
:tabid: debian
174-
175-
1. Double-click on the ``.deb`` package icon to start
176-
installation.
177-
178-
#. Click :guilabel:`Install`.
179-
180-
.. figure:: /images/compass/install-ubuntu.png
181-
:figwidth: 654px
182-
183-
#. Once installed, launch Compass from your
184-
:guilabel:`Applications` folder.
185-
186-
#. Start Compass:
187-
188-
.. code-block:: sh
189-
190-
mongodb-compass
191-
192-
.. tab:: RHEL
193-
:tabid: rhel
194-
195-
#. Install Compass:
196-
197-
.. code-block:: sh
198-
199-
sudo yum install mongodb-compass-{+current-version+}.x86_64.rpm
200-
201-
#. Start Compass:
202-
203-
.. code-block:: sh
204-
205-
mongodb-compass
206-
207229
.. seealso::
208230

209231
:ref:`upgrade-compass`

0 commit comments

Comments
 (0)