Sunday , November 17 2024

PostgreSQL 13 Installation

PostgreSQL 9.2 version is common in the repos, you can install this version if you want.

First, we download the postgresql 13 repo as follows.

If you get an error like below while installing.

You can use the article named llvm-toolset-7 installation.

Error: Package: postgresql13-devel-13.0-1PGDG.rhel7.x86_64 (pgdg13)

Requires: llvm-toolset-7-clang >= 4.0.1

You could try using –skip-broken to work around the problem

We pass the problem by installing llvm-toolset-7 and we install our service by running the following command.

After our service is installed, with the help of the following command, we ensure that the files required for our cluster are installed in the default directory with the help of the following command.

If you want to install the cluster files in a different directory, you can use the PostgreSQL 11 Installation article.

Our cluster files are initialized to the default directory. Let’s enable our service with the help of the following command.

Our service is enabled. Let’s start our postgresql-13 service with the help of the command below.

Our PostgreSQL 13 service is running and ready to be used.

Loading

About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *