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
1. Accessing Shell
Open a Shell Session
(Press “Enter” to Execute Commands)
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”: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