pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Jensen <hanzer@riseup.net>
To: pgsql-admin@lists.postgresql.org
Subject: Re: postgis Installation
Date: Wed, 19 Sep 2018 07:28:36 -0400
Message-ID: <f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net> (raw)
In-Reply-To: <CABG8FoP1crZU=A4JpNgmPgT-4fTDUjPeEd4KudzPP005boW4Gg@mail.gmail.com>
References: <CABG8FoP1crZU=A4JpNgmPgT-4fTDUjPeEd4KudzPP005boW4Gg@mail.gmail.com>

Hi, Pierre.

I use Scientific Linux 7.5 which is a RHEL clone. The version of
PostgreSQL available on my system is 9.2.24:

https://www.postgresql.org/docs/9.2/static/release-9-2-24.html

Version 9.2.24 has nice SELinux integration:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_admi...

And it includes PostGIS version 2.0.7

I found a RHEL repository with PostgreSQL version 10.5 here:

https://yum.postgresql.org/repopackages.php#pg10

This version does not include the SELinux integration.

The command I use to find the exact name of the packages is:

yum list postgis\*
yum list postgresql\*

And this might work for your case:

yum install postgis24_10

And maybe make it more complete with this:

yum install postgis24_10-client postgis24_10-docs postgis24_10-utils

Cheers!

On 09/19/2018 06:28 AM, Pierre Ochsenbein wrote:
> Hi All,
> 
> How I can install postgis on PostgreSQL10 with RedHat 7 server?
> 
> root@host usr]# yum install postgresql-10-postgis-2.4
> Failed to set locale, defaulting to C
> Loaded plugins: enabled_repos_upload, package_upload, product-id,
> search-disabled-repos, subscription-manager
> rhel-7-server-rpms                                                                                                                                                                                    
> | 2.0 kB  00:00:00    
> rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                
> | 2.1 kB  00:00:00    
> No package postgresql-10-postgis-2.4 available.
> Error: Nothing to do
> Uploading Enabled Repositories Report
> Loaded plugins: product-id, subscription-manager
> [root@host usr]# 
> 
> ----
> root@host usr]# yum install postgresql-10-postgis-2.4
> Failed to set locale, defaulting to C
> Loaded plugins: enabled_repos_upload, package_upload, product-id,
> search-disabled-repos, subscription-manager
> rhel-7-server-rpms                                                                                                                                                                                    
> | 2.0 kB  00:00:00    
> rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                
> | 2.1 kB  00:00:00    
> No package postgresql-10-postgis-2.4 available.
> Error: Nothing to do
> Uploading Enabled Repositories Report
> Loaded plugins: product-id, subscription-manager
> [root@host usr]# 
> 





view thread (4+ messages)  latest in thread

Message-ID: <f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net>
Permalink:  ../f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net/
Also on:    postgresql.org/message-id/f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: hanzer@riseup.net
  Subject: Re: postgis Installation
  In-Reply-To: <f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net>
  References: <CABG8FoP1crZU=A4JpNgmPgT-4fTDUjPeEd4KudzPP005boW4Gg@mail.gmail.com> <f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox