Skip to content

Instantly share code, notes, and snippets.

@gturi
Last active August 25, 2022 21:12
Show Gist options
  • Select an option

  • Save gturi/a247f5def6889050e1ca770abb12ca56 to your computer and use it in GitHub Desktop.

Select an option

Save gturi/a247f5def6889050e1ca770abb12ca56 to your computer and use it in GitHub Desktop.
fedora: install postgres and display installation folder
# Install the repository RPM:
sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/F-36-x86_64/pgdg-fedora-repo-latest.noarch.rpm

# Install PostgreSQL:
version=13
sudo dnf install -y postgresql$version-server

# installation folder
ls /usr/pgsql-$version/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment