1 On a Debian-based system, install the following packages:
4 <pre><code>~$ <span class="userinput">sudo apt-get install libpq-dev postgresql</span>
8 On a Red Hat-based system, install the following packages:
11 <pre><code>~$ <span class="userinput">sudo yum install postgresql postgresql-devel</span>
15 {% include 'notebox_begin' %}
17 If you intend to use specific versions of these packages from Software Collections, you may have to adapt some of the package names to match. For example:
20 <pre><code>~$ <span class="userinput">sudo yum install postgresql92 postgresql92-postgresql-devel</span></code></pre></notextile>
22 {% include 'notebox_end' %}