Skip to content

Instantly share code, notes, and snippets.

@christianroman
Last active February 10, 2020 16:28
Show Gist options
  • Save christianroman/6516864 to your computer and use it in GitHub Desktop.
Save christianroman/6516864 to your computer and use it in GitHub Desktop.
Install PostgreSQL 9.3.1 + PostGIS + PGRouting on CentOS 6.4
rpm -Uvh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm
yum install postgresql93 postgresql93-server postgresql93-contrib postgresql93-devel postgis2_93 postgis2_93-utils
#Configure PostgreSQL
chkconfig postgresql-9.3 on
service postgresql-9.3 initdb
service postgresql-9.3 start
# Create PostGIS template
su - postgres
psql postgres
postgres=# \c template1
postgres=# CREATE EXTENSION postgis;
createdb geodata -T template1
#Install PGRouting
yum install boost boost-devel
yum install gcc-c++
yum install pgrouting_93
@lucapaganotti
Copy link

Where do I find pgrouting_93 package?

The last command gives me "No package pgrouting_93 available."

@armagaet
Copy link

Where do I find pgrouting_93 package?

The last command gives me "No package pgrouting_93 available."

Have you installed pgdg93 repository? It comes from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment