How to Add PostgreSQL Repository for Enterprise Linux Based OSes

October 1, 2021 | By the+gnu+linux+evangelist.

GNU/Linux Red Hat Adding PostgreSQL Repository

Hi! The Tutorial shows you Step-by-Step How to Add PostgreSQL.x Repository for Red Hat Enterprise GNU/Linux Based Systems.

And the Red Hat Linux PostgreSQL Repository at this time is Valid for EL 6+.

So this Guide is Valid for All the Red Hat Linux Based Distros like:

  • CentOS
  • Oracle Enterprise Linux
  • Scientific Linux
Install PostgreSQL Repository for Red Hat Linux - Featured
  1. 1. Accessing Shell

    Open a Shell Session
    (Press “Enter” to Execute Commands)

    Install PostgreSQL Repository Enterprise Linux - Open Terminal
    In case first see: Terminal QuickStart Guide.
  2. 2. Downloading PostgreSQL Repo

    Download PostgreSQL Enterprise Linux Repository

    Choose the EL Version and then Grab the Latest Available Release.
    Possibly, on Firefox Prompt Choose “Save File”:
    Firefox Prompt
  3. 3. Installing PostgreSQL Repo

    Then to Install PostgreSQL Enterprise Linux Repo
    Simply play:

    sudo dnf install ~/Downloads/pgdg-redhat*.rpm
    Or:
    sudo yum install ~/Downloads/pgdg-redhat*.rpm
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.

Contents


QuickChic Theme • Powered by WordPress