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