<li>Rocky Linux</li>
<li>AlmaLinux</li>
<li>Fedora</li>
- <li>Oracle Linux</li>
</ul>
</p>
<p>and others.</p>
<li>Red Hat Enterprise Linux</li>
<li>Rocky Linux</li>
<li>AlmaLinux</li>
- <li>Oracle Linux</li>
<li>Fedora<sup>*</sup></li>
</ul>
</p>
<h2>Included in Distribution</h2>
<p>
These distributions all include PostgreSQL by default. To install
-PostgreSQL from these repositories, use the <var>dnf</var> command on RHEL 8 and Fedora:
+PostgreSQL from these repositories, use the <var>dnf</var> command on RHEL and Fedora:
</p>
<p>
<code>
</code>
</p>
<p>
-or <var>yum</var> command on RHEL / CentOS 7:
-</p>
-<p>
-<code>
-yum install postgresql-server
-</code>
-</p>
-<p>
Which version of PostgreSQL you get will depend on the version of
the distribution:
</p>
will not be enabled for automatic start or have the database initialized
automatically. To make your database installation complete, you need to
perform the following steps, based on your distribution:
-<h4>For RHEL / Rocky Linux / AlmaLinux / CentOS / OL 10, 9, 8 or Fedora 41 and later derived distributions:</h4>
+<h4>For RHEL / Rocky Linux / AlmaLinux 10, 9, 8 or Fedora 41 and later derived distributions:</h4>
<pre class="code">
postgresql-setup --initdb
systemctl enable postgresql.service