@@ -109,64 +109,172 @@ The following are commands for Red Hat Enterprise Linux 9 and derivatives. For R
109
109
$ sudo dnf config-manager --set-enabled ol9_codeready_builder
110
110
```
111
111
112
- ### For PostGIS
112
+ ### For PostGIS
113
113
114
- The following commands provide instructions how to enable required repositories and modules on Red Hat Enterprise Linux 9 and derivatives .
114
+ For Red Hat Enterprise Linux 8 and derivatives, replace the operating system version in the following commands accordingly .
115
115
116
- For Red Hat Enterprise Linux 8 and derivatives, replace the operating system version in the commands accordingly.
116
+ === "RHEL 8"
117
+
118
+ Run the following commands:
119
+ {.power-number}
120
+
121
+ 1. Install DNF plugin utilities
122
+
123
+ ```{.bash data-prompt="$"}
124
+ $ sudo dnf install dnf-plugins-core
125
+ ```
126
+
127
+ 2. Install the EPEL repository
128
+
129
+ ```{.bash data-prompt="$"}
130
+ $ sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
131
+ ```
132
+
133
+ 3. Enable the CodeReady Builder repository to resolve dependency conflicts
134
+
135
+ ```{.bash data-prompt="$"}
136
+ $ sudo dnf config-manager --set-enabled codeready-builder-for-rhel-8-rhui-rpms
137
+ ```
138
+
139
+ 4. Disable the default PostgreSQL module
140
+
141
+ ```{.bash data-prompt="$"}
142
+ $ sudo dnf module disable postgresql
143
+ ```
117
144
118
145
=== "RHEL 9"
119
146
120
147
Run the following commands:
121
148
{.power-number}
122
149
123
- 1. Install `epel` repository
150
+ 1. Install DNF plugin utilities
124
151
125
152
```{.bash data-prompt="$"}
126
- $ sudo yum install epel-release
153
+ $ sudo dnf install dnf-plugins-core
127
154
```
128
155
129
- 2. Enable the codeready builder repository to resolve dependencies conflict.
156
+ 2. Install the EPEL repository
130
157
131
158
```{.bash data-prompt="$"}
132
- $ sudo dnf config-manager --set-enabled codeready-builder-for-rhel-9-x86_64-rpms
159
+ $ sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
133
160
```
161
+
162
+ 3. Enable the CodeReady Builder repository to resolve dependency conflicts
134
163
135
- === "Rocky Linux 9"
164
+ ```{.bash data-prompt="$"}
165
+ $ sudo dnf config-manager --set-enabled codeready-builder-for-rhel-9-rhui-rpms
166
+ ```
167
+
168
+ === "Oracle Linux 8"
136
169
137
170
Run the following commands:
138
171
{.power-number}
139
172
140
- 1. Install `epel` repository
173
+ 1. Install the EPEL repository
141
174
142
175
```{.bash data-prompt="$"}
143
- $ sudo yum install epel-release
176
+ $ sudo dnf install -y epel-release
144
177
```
145
178
146
- 2. Enable the codeready builder repository to resolve dependencies conflict.
179
+ 2. Install DNF plugin utilities
147
180
148
181
```{.bash data-prompt="$"}
149
182
$ sudo dnf install dnf-plugins-core
150
- $ sudo dnf config-manager --set-enabled crb
183
+ ```
184
+
185
+ 3. Enable the CodeReady Builder repository to resolve dependency conflicts
186
+
187
+ ```{.bash data-prompt="$"}
188
+ $ sudo dnf config-manager --set-enabled ol8_codeready_builder
189
+ ```
190
+
191
+ 4. (Alternative) Install the latest EPEL release
192
+
193
+ ```{.bash data-prompt="$"}
194
+ $ sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
195
+ ```
196
+
197
+ 5. Disable the default PostgreSQL module
198
+
199
+ ```{.bash data-prompt="$"}
200
+ $ sudo dnf module disable postgresql
151
201
```
152
202
153
203
=== "Oracle Linux 9"
154
204
155
205
Run the following commands:
156
206
{.power-number}
157
207
158
- 1. Install `epel` repository
208
+ 1. Install the EPEL repository
159
209
160
210
```{.bash data-prompt="$"}
161
- $ sudo yum install epel-release
211
+ $ sudo dnf install -y epel-release
162
212
```
163
213
164
- 2. Enable the codeready builder repository to resolve dependencies conflict.
214
+ 2. Install DNF plugin utilities
215
+
216
+ ```{.bash data-prompt="$"}
217
+ $ sudo dnf install dnf-plugins-core
218
+ ```
219
+
220
+ 3. Enable the CodeReady Builder repository to resolve dependency conflicts
165
221
166
222
```{.bash data-prompt="$"}
167
223
$ sudo dnf config-manager --set-enabled ol9_codeready_builder
168
224
```
169
225
226
+ === "Rocky Linux 8"
227
+
228
+ Run the following commands:
229
+ {.power-number}
230
+
231
+ 1. Install the EPEL release package
232
+
233
+ ```{.bash data-prompt="$"}
234
+ $ sudo dnf install -y epel-release
235
+ ```
236
+
237
+ 2. Install DNF plugin utilities
238
+
239
+ ```{.bash data-prompt="$"}
240
+ $ sudo dnf install dnf-plugins-core
241
+ ```
242
+
243
+ 3. Enable the PowerTools repository
244
+
245
+ ```{.bash data-prompt="$"}
246
+ $ sudo dnf config-manager --set-enabled powertools
247
+ ```
248
+
249
+ 4. Disable the default PostgreSQL module
250
+
251
+ ```{.bash data-prompt="$"}
252
+ $ sudo dnf module disable postgresql
253
+ ```
254
+
255
+ === "Rocky Linux 9"
256
+
257
+ Run the following commands:
258
+ {.power-number}
259
+
260
+ 1. Install the EPEL repository
261
+
262
+ ```{.bash data-prompt="$"}
263
+ $ sudo dnf install -y epel-release
264
+ ```
265
+
266
+ 2. Install DNF plugin utilities
267
+
268
+ ```{.bash data-prompt="$"}
269
+ $ sudo dnf install dnf-plugins-core
270
+ ```
271
+
272
+ 3. Enable the CodeReady Builder repository to resolve dependency conflicts
273
+
274
+ ```{.bash data-prompt="$"}
275
+ $ sudo dnf config-manager --set-enabled crb
276
+ ```
277
+
170
278
=== "RHEL UBI 9"
171
279
172
280
Run the following commands:
0 commit comments