/usr/share/doc/postgresql-9.5-pgrouting-doc/html/en/doc/src/installation/index.html is in postgresql-9.5-pgrouting-doc 2.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Installation — pgRouting Manual (2.1.0)</title>
<link rel="stylesheet" href="../../../_static/haiku.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../../',
VERSION: '2.1.0 (b38118a master)',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../../../_static/jquery.js"></script>
<script type="text/javascript" src="../../../_static/underscore.js"></script>
<script type="text/javascript" src="../../../_static/doctools.js"></script>
<script type="text/javascript" src="../../../_static/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="shortcut icon" href="../../../_static/favicon.ico"/>
<link rel="top" title="pgRouting Manual (2.1.0)" href="../../index.html" />
<link rel="next" title="Build Guide" href="build.html" />
<link rel="prev" title="Introduction" href="../introduction/introduction.html" />
</head>
<body role="document">
<div class="header" role="banner"><img class="rightlogo" src="../../../_static/pgrouting.png" alt="Logo"/><h1 class="heading"><a href="../../../index.html">
<span>pgRouting Manual (2.1.0)</span></a></h1>
<h2 class="heading"><span>Installation</span></h2>
</div>
<div class="topnav" role="navigation" aria-label="top navigation">
<p>
«  <a href="../introduction/introduction.html">Introduction</a>
  ::  
<a class="uplink" href="../../index.html">Contents</a>
  ::  
<a href="build.html">Build Guide</a>  »
</p>
</div>
<div class="content">
<div class="section" id="installation">
<span id="id1"></span><h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
<p>This is a basic guide to download and install pgRouting.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">additional notes can be found in <a class="reference external" href="https://github.com/pgRouting/pgrouting/wiki/Notes-on-Download%2C-Installation-and-building-pgRouting">Installation Notes</a></p>
</div>
<div class="section" id="download">
<h2>Download<a class="headerlink" href="#download" title="Permalink to this headline">¶</a></h2>
<p>Binary packages are provided for the current version on the following platforms:</p>
<div class="section" id="windows">
<h3>Windows<a class="headerlink" href="#windows" title="Permalink to this headline">¶</a></h3>
<p>Winnie Bot Builds:</p>
<ul class="simple">
<li><a class="reference external" href="http://postgis.net/windows_downloads">Winnie PostgreSQL 9.2-9.5 32-bit/64-bit</a></li>
</ul>
<p>Production Builds:</p>
<ul class="simple">
<li>Production builds are part of the Spatial Extensions/PostGIS Bundle available via Application StackBuilder</li>
<li><a class="reference external" href="http://download.osgeo.org/postgis/windows/">Can also get PostGIS Bundle from</a></li>
</ul>
</div>
<div class="section" id="ubuntu-debian">
<h3>Ubuntu/Debian<a class="headerlink" href="#ubuntu-debian" title="Permalink to this headline">¶</a></h3>
<p>Ubuntu packages are available in Launchpad repositories:</p>
<ul class="simple">
<li><em>stable</em> <a class="reference external" href="https://launchpad.net/~georepublic/+archive/pgrouting">https://launchpad.net/~georepublic/+archive/pgrouting</a></li>
<li><em>unstable</em> <a class="reference external" href="https://launchpad.net/~georepublic/+archive/pgrouting-unstable">https://launchpad.net/~georepublic/+archive/pgrouting-unstable</a></li>
</ul>
<div class="highlight-bash"><div class="highlight"><pre><span class="c1"># Add pgRouting launchpad repository ("stable" or "unstable")</span>
sudo add-apt-repository ppa:georepublic/pgrouting<span class="o">[</span>-unstable<span class="o">]</span>
sudo apt-get update
<span class="c1"># Install pgRouting packages</span>
sudo apt-get install postgresql-9.1-pgrouting
</pre></div>
</div>
<p>Use <a class="reference external" href="https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable">UbuntuGIS-unstable PPA</a> to install PostGIS 2.0.</p>
</div>
<div class="section" id="rhel-centos-fedora">
<h3>RHEL/CentOS/Fedora<a class="headerlink" href="#rhel-centos-fedora" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fedora RPM’s: <a class="reference external" href="https://admin.fedoraproject.org/pkgdb/acls/name/pgRouting">https://admin.fedoraproject.org/pkgdb/acls/name/pgRouting</a></li>
</ul>
</div>
<div class="section" id="freebsd">
<h3>FreeBSD<a class="headerlink" href="#freebsd" title="Permalink to this headline">¶</a></h3>
<p>pgRouting can be installed via ports:</p>
<div class="highlight-bash"><div class="highlight"><pre><span class="nb">cd</span> /usr/ports/databases/pgRouting
make install clean
</pre></div>
</div>
</div>
<div class="section" id="os-x">
<h3>OS X<a class="headerlink" href="#os-x" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Homebrew</li>
</ul>
<div class="highlight-bash"><div class="highlight"><pre>brew install pgrouting
</pre></div>
</div>
</div>
<div class="section" id="source-package">
<h3>Source Package<a class="headerlink" href="#source-package" title="Permalink to this headline">¶</a></h3>
<p>You can find all the pgRouting Releases:</p>
<p><a class="reference external" href="https://github.com/pgRouting/pgrouting/releases">https://github.com/pgRouting/pgrouting/releases</a></p>
<p>See <a class="reference internal" href="build.html#build"><span>Build Guide</span></a> to build the binaries from the source.</p>
</div>
<div class="section" id="using-git">
<h3>Using Git<a class="headerlink" href="#using-git" title="Permalink to this headline">¶</a></h3>
<p>Git protocol (read-only):</p>
<div class="highlight-bash"><div class="highlight"><pre>git clone git://github.com/pgRouting/pgrouting.git
</pre></div>
</div>
<p>HTTPS protocol (read-only):</p>
<div class="highlight-bash"><div class="highlight"><pre>git clone https://github.com/pgRouting/pgrouting.git
</pre></div>
</div>
<p>See <a class="reference internal" href="build.html#build"><span>Build Guide</span></a> to build the binaries from the source.</p>
</div>
</div>
<div class="section" id="installing-in-the-database">
<h2>Installing in the database<a class="headerlink" href="#installing-in-the-database" title="Permalink to this headline">¶</a></h2>
<p>pgRouting is an extension.</p>
<div class="highlight-sql"><div class="highlight"><pre><span class="k">CREATE</span> <span class="n">EXTENSION</span> <span class="n">postgis</span><span class="p">;</span>
<span class="k">CREATE</span> <span class="n">EXTENSION</span> <span class="n">pgrouting</span><span class="p">;</span>
</pre></div>
</div>
</div>
<div class="section" id="upgrading-the-database">
<h2>Upgrading the database<a class="headerlink" href="#upgrading-the-database" title="Permalink to this headline">¶</a></h2>
<p>To upgrade pgRouting to version 2.1.0 use the following command:</p>
<div class="highlight-sql"><div class="highlight"><pre><span class="k">ALTER</span> <span class="n">EXTENSION</span> <span class="n">pgrouting</span> <span class="k">UPDATE</span> <span class="k">TO</span> <span class="ss">"2.1.0"</span><span class="p">;</span>
</pre></div>
</div>
</div>
</div>
</div>
<div class="bottomnav" role="navigation" aria-label="bottom navigation">
<p>
«  <a href="../introduction/introduction.html">Introduction</a>
  ::  
<a class="uplink" href="../../index.html">Contents</a>
  ::  
<a href="build.html">Build Guide</a>  »
</p>
</div>
<div class="footer" role="contentinfo">
© Copyright pgRouting Contributors - Version 2.1.0 (b38118a master).
Last updated on Feb 05, 2016.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.5.
</div>
</body>
</html>
|