Re: postgis Installation

From: Adam Jensen <hanzer(at)riseup(dot)net>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: postgis Installation
Date: 2018-09-19 11:28:36
Message-ID: f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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_administrators_guide/chap-managing_confined_services-postgresql

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(at)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(at)host usr]# 
>
> ----
> root(at)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(at)host usr]# 
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Fabio Pardi 2018-09-19 11:39:27 Re: Master slave replication
Previous Message Pierre Ochsenbein 2018-09-19 11:22:26 Re: postgis Installation