Finding your OS/Architecture

If you do not know which OS/Architecture you are using, please run the following:

Step 1: Find distribution


cat /etc/redhat-release

This command will give you output like:

  • Red Hat Enterprise Linux release 8.2 (Ootpa)
  • Red Hat Enterprise Linux Server release 7.9 (Maipo)
  • CentOS Linux release 7.8.2003 (Core)
  • CentOS release 6.10 (Final)
  • Fedora release 32 (Thirty Two)

or similar. The results would show you are using RHEL 8.2, 7.9, CentOS 7.8, CentOS 6.10 or Fedora 32, respectively.

Step 2: Find architecture


uname -m

This command will give you an output like x86_64, ppc4le, aarch74 or i686.

So, if the first output is Fedora 32 and the second one is x86_64, go to Packages page, and find the repository RPMs in the PostgreSQL version that you are looking for.