title: How to install the specific version of postgres?
body: <p>I need to install a <strong>postgres 9.6.6</strong> on Ubuntu 14.04, but the command</p>
  
  <pre><code>apt-get install postgresql-9.6
  </code></pre>
  
  <p>installes  <strong>9.6.7</strong>.</p>
  
  <p>How can I install 9.6.6?</p>
  
  <p>An output of command</p>
  
  <pre><code>apt-cache policy postgresql-9.6
  </code></pre>
  
  <p>is </p>
  
  <pre><code>postgresql-9.6:
    Installed: 9.6.7-1.pgdg14.04+1
    Candidate: 9.6.7-1.pgdg14.04+1
    Version table:
   *** 9.6.7-1.pgdg14.04+1 0
          500 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64 Packages
          100 /var/lib/dpkg/status
  </code></pre>