Configs

PostgreSQL PostgreSQL

Go to the Postgres Linux downloads page and follow instructions as per your Linux distro and postgres versions

Packages available

An overview of the various library packages available (names as present for Fedora):

Package Purpose
postgresql Core PostgreSQL client utilities like psql, pg_dump, pg_restore
postgresql-server Everything needed to run a PostgreSQL server instance on your machine. Includes server binaries like postgres daemon, init-tools, config files etc
postgresql-client Client-only package that provides the tools needed to connect to a PostgreSQL server (local or remote)
pgAdmin4 A GUI tool for managing PostgreSQL databases
postgresql-contrib A set of additional modules and extensions to add extra functionality to PostgreSQL such as full-text search, advanced statistical analysis, or custom data types. For example, hstore (key-value store), pg_stat_statements (query performance stats), tablefunc (functions for crosstab/pivot tables)
libpq The C library for interfacing with PostgreSQL

Whichever one you pick don’t mix packages between the two i.e. install all your packages from only either one of the two, NOT like postgres* ones from package manager and pgadmin4 ones from PGDG. This is done to avoid conflicts


Installing Postgres (via PGDG)

As per the instructions for Postgres 17 on Fedora selected from their RedHat guide:

Post-install steps for Postgres

Run psql --help to know available options

Installing PgAdmin

Visit the pgAgmin download page and refer instructions as per your distro’s package manager (dnf, apt etc)

If your current version of your distro is supported, then only go ahead with the mentioned installation steps. If not supported, you might not get everything installed as expected

Steps to install pgadmin4 on Fedora

Following the pgAdmin download guide for RPM:


Install DBeaver (PgAdmin alternative)

DBeaver supports all popular SQL databases. It’s a free cross-platform database tool for everyone working with data (devs, admins, analysts etc)

As per the DBeaver Community Edition download page, to install it as a flatpak:

flatpak install flathub io.dbeaver.DBeaverCommunity