Skip to content

Add updated steps for postgis PG14 #834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 123 additions & 15 deletions docs/yum.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,64 +109,172 @@ The following are commands for Red Hat Enterprise Linux 9 and derivatives. For R
$ sudo dnf config-manager --set-enabled ol9_codeready_builder
```

### For PostGIS
### For PostGIS

The following commands provide instructions how to enable required repositories and modules on Red Hat Enterprise Linux 9 and derivatives.
For Red Hat Enterprise Linux 8 and derivatives, replace the operating system version in the following commands accordingly.

For Red Hat Enterprise Linux 8 and derivatives, replace the operating system version in the commands accordingly.
=== "RHEL 8"

Run the following commands:
{.power-number}

1. Install DNF plugin utilities

```{.bash data-prompt="$"}
$ sudo dnf install dnf-plugins-core
```

2. Install the EPEL repository

```{.bash data-prompt="$"}
$ sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
```

3. Enable the CodeReady Builder repository to resolve dependency conflicts

```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled codeready-builder-for-rhel-8-rhui-rpms
```

4. Disable the default PostgreSQL module

```{.bash data-prompt="$"}
$ sudo dnf module disable postgresql
```

=== "RHEL 9"

Run the following commands:
{.power-number}

1. Install `epel` repository
1. Install DNF plugin utilities

```{.bash data-prompt="$"}
$ sudo yum install epel-release
$ sudo dnf install dnf-plugins-core
```

2. Enable the codeready builder repository to resolve dependencies conflict.
2. Install the EPEL repository

```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled codeready-builder-for-rhel-9-x86_64-rpms
$ sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
```

3. Enable the CodeReady Builder repository to resolve dependency conflicts

=== "Rocky Linux 9"
```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled codeready-builder-for-rhel-9-rhui-rpms
```

=== "Oracle Linux 8"

Run the following commands:
{.power-number}

1. Install `epel` repository
1. Install the EPEL repository

```{.bash data-prompt="$"}
$ sudo yum install epel-release
$ sudo dnf install -y epel-release
```

2. Enable the codeready builder repository to resolve dependencies conflict.
2. Install DNF plugin utilities

```{.bash data-prompt="$"}
$ sudo dnf install dnf-plugins-core
$ sudo dnf config-manager --set-enabled crb
```

3. Enable the CodeReady Builder repository to resolve dependency conflicts

```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled ol8_codeready_builder
```

4. (Alternative) Install the latest EPEL release

```{.bash data-prompt="$"}
$ sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
```

5. Disable the default PostgreSQL module

```{.bash data-prompt="$"}
$ sudo dnf module disable postgresql
```

=== "Oracle Linux 9"

Run the following commands:
{.power-number}

1. Install `epel` repository
1. Install the EPEL repository

```{.bash data-prompt="$"}
$ sudo yum install epel-release
$ sudo dnf install -y epel-release
```

2. Enable the codeready builder repository to resolve dependencies conflict.
2. Install DNF plugin utilities

```{.bash data-prompt="$"}
$ sudo dnf install dnf-plugins-core
```

3. Enable the CodeReady Builder repository to resolve dependency conflicts

```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled ol9_codeready_builder
```

=== "Rocky Linux 8"

Run the following commands:
{.power-number}

1. Install the EPEL release package

```{.bash data-prompt="$"}
$ sudo dnf install -y epel-release
```

2. Install DNF plugin utilities

```{.bash data-prompt="$"}
$ sudo dnf install dnf-plugins-core
```

3. Enable the PowerTools repository

```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled powertools
```

4. Disable the default PostgreSQL module

```{.bash data-prompt="$"}
$ sudo dnf module disable postgresql
```

=== "Rocky Linux 9"

Run the following commands:
{.power-number}

1. Install the EPEL repository

```{.bash data-prompt="$"}
$ sudo dnf install -y epel-release
```

2. Install DNF plugin utilities

```{.bash data-prompt="$"}
$ sudo dnf install dnf-plugins-core
```

3. Enable the CodeReady Builder repository to resolve dependency conflicts

```{.bash data-prompt="$"}
$ sudo dnf config-manager --set-enabled crb
```

=== "RHEL UBI 9"

Run the following commands:
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy