This is quick spit-out of commands, I used on my test virtual machine to install PostgreSQL 11 on Oracle Enterprise Linux 7.
[root@docker ~]# curl -O https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-oraclelinux11-11-2.noarch.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4952 100 4952 0 0 1889 0 0:00:02 0:00:02 --:--:-- 1890
[root@docker ~]# rpm -ivh pgdg-oraclelinux11-11-2.noarch.rpm
warning: pgdg-oraclelinux11-11-2.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:pgdg-oraclelinux11-11-2 ################################# [100%]
[root@docker ~]# yum list postgres*
Loaded plugins: langpacks, ulninfo
pgdg11 | 4.1 kB 00:00
(1/2): pgdg11/7Server/x86_64/primary_db | 141 kB 00:02
(2/2): pgdg11/7Server/x86_64/group_gz | 245 B 00:02
Available Packages
postgresql.i686 9.2.24-1.el7_5 ol7_latest
postgresql.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-contrib.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-devel.i686 9.2.24-1.el7_5 ol7_latest
postgresql-devel.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-docs.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-jdbc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-jdbc-javadoc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-libs.i686 9.2.24-1.el7_5 ol7_latest
postgresql-libs.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-odbc.x86_64 09.03.0100-2.el7 ol7_latest
postgresql-plperl.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-plpython.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-pltcl.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-server.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-static.i686 9.2.24-1.el7_5 ol7_latest
postgresql-static.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-test.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-unit11.x86_64 7.0-1.rhel7 pgdg11
postgresql-unit11-debuginfo.x86_64 7.0-1.rhel7 pgdg11
postgresql-upgrade.x86_64 9.2.24-1.el7_5 ol7_optional_latest
postgresql11.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-contrib.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-debuginfo.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-devel.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-docs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-libs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-llvmjit.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-odbc.x86_64 11.00.0000-1PGDG.rhel7 pgdg11
postgresql11-plperl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-plpython.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-pltcl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-server.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-tcl.x86_64 2.4.0-2.rhel7.1 pgdg11
postgresql11-test.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql_anonymizer11.noarch 0.2.1-1.rhel7 pgdg11
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# yum list postgres* | grep
anaconda-ks.cfg .bashrc .dbus/ .pki/
.bash_history .cache/ initial-setup-ks.cfg .tcshrc
.bash_logout .config/ .local/ .viminfo
.bash_profile .cshrc pgdg-oraclelinux11-11-2.noarch.rpm .xauth5hcDeF
[root@docker ~]# yum list postgres* | grep 11
postgresql-jdbc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-jdbc-javadoc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-unit11.x86_64 7.0-1.rhel7 pgdg11
postgresql-unit11-debuginfo.x86_64 7.0-1.rhel7 pgdg11
postgresql11.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-contrib.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-debuginfo.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-devel.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-docs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-libs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-llvmjit.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-odbc.x86_64 11.00.0000-1PGDG.rhel7 pgdg11
postgresql11-plperl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-plpython.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-pltcl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-server.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-tcl.x86_64 2.4.0-2.rhel7.1 pgdg11
postgresql11-test.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql_anonymizer11.noarch 0.2.1-1.rhel7 pgdg11
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# yum install postgresql11-server
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package postgresql11-server.x86_64 0:11.1-1PGDG.rhel7 will be installed
--> Processing Dependency: postgresql11-libs(x86-64) = 11.1-1PGDG.rhel7 for package: postgresql11-server-11.1-1PGDG.rhel7.x86_64
--> Processing Dependency: postgresql11(x86-64) = 11.1-1PGDG.rhel7 for package: postgresql11-server-11.1-1PGDG.rhel7.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql11-server-11.1-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package postgresql11.x86_64 0:11.1-1PGDG.rhel7 will be installed
---> Package postgresql11-libs.x86_64 0:11.1-1PGDG.rhel7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================
Installing:
postgresql11-server x86_64 11.1-1PGDG.rhel7 pgdg11 4.7 M
Installing for dependencies:
postgresql11 x86_64 11.1-1PGDG.rhel7 pgdg11 1.6 M
postgresql11-libs x86_64 11.1-1PGDG.rhel7 pgdg11 359 k
Transaction Summary
====================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 6.7 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): postgresql11-libs-11.1-1PGDG.rhel7.x86_64.rpm | 359 kB 00:00:04
(2/3): postgresql11-11.1-1PGDG.rhel7.x86_64.rpm | 1.6 MB 00:00:04
(3/3): postgresql11-server-11.1-1PGDG.rhel7.x86_64.rpm | 4.7 MB 00:00:02
----------------------------------------------------------------------------------------------------------------------------------------------------
Total 974 kB/s | 6.7 MB 00:00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : postgresql11-libs-11.1-1PGDG.rhel7.x86_64 1/3
Installing : postgresql11-11.1-1PGDG.rhel7.x86_64 2/3
Installing : postgresql11-server-11.1-1PGDG.rhel7.x86_64 3/3
Verifying : postgresql11-libs-11.1-1PGDG.rhel7.x86_64 1/3
Verifying : postgresql11-11.1-1PGDG.rhel7.x86_64 2/3
Verifying : postgresql11-server-11.1-1PGDG.rhel7.x86_64 3/3
Installed:
postgresql11-server.x86_64 0:11.1-1PGDG.rhel7
Dependency Installed:
postgresql11.x86_64 0:11.1-1PGDG.rhel7 postgresql11-libs.x86_64 0:11.1-1PGDG.rhel7
Complete!
[root@docker ~]#
[root@docker ~]# curl -O https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-oraclelinux11-11-2.noarch.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4952 100 4952 0 0 1889 0 0:00:02 0:00:02 --:--:-- 1890
[root@docker ~]# rpm -ivh pgdg-oraclelinux11-11-2.noarch.rpm
warning: pgdg-oraclelinux11-11-2.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:pgdg-oraclelinux11-11-2 ################################# [100%]
[root@docker ~]# yum list postgres*
Loaded plugins: langpacks, ulninfo
pgdg11 | 4.1 kB 00:00
(1/2): pgdg11/7Server/x86_64/primary_db | 141 kB 00:02
(2/2): pgdg11/7Server/x86_64/group_gz | 245 B 00:02
Available Packages
postgresql.i686 9.2.24-1.el7_5 ol7_latest
postgresql.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-contrib.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-devel.i686 9.2.24-1.el7_5 ol7_latest
postgresql-devel.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-docs.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-jdbc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-jdbc-javadoc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-libs.i686 9.2.24-1.el7_5 ol7_latest
postgresql-libs.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-odbc.x86_64 09.03.0100-2.el7 ol7_latest
postgresql-plperl.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-plpython.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-pltcl.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-server.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-static.i686 9.2.24-1.el7_5 ol7_latest
postgresql-static.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-test.x86_64 9.2.24-1.el7_5 ol7_latest
postgresql-unit11.x86_64 7.0-1.rhel7 pgdg11
postgresql-unit11-debuginfo.x86_64 7.0-1.rhel7 pgdg11
postgresql-upgrade.x86_64 9.2.24-1.el7_5 ol7_optional_latest
postgresql11.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-contrib.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-debuginfo.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-devel.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-docs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-libs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-llvmjit.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-odbc.x86_64 11.00.0000-1PGDG.rhel7 pgdg11
postgresql11-plperl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-plpython.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-pltcl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-server.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-tcl.x86_64 2.4.0-2.rhel7.1 pgdg11
postgresql11-test.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql_anonymizer11.noarch 0.2.1-1.rhel7 pgdg11
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# yum list postgres* | grep
anaconda-ks.cfg .bashrc .dbus/ .pki/
.bash_history .cache/ initial-setup-ks.cfg .tcshrc
.bash_logout .config/ .local/ .viminfo
.bash_profile .cshrc pgdg-oraclelinux11-11-2.noarch.rpm .xauth5hcDeF
[root@docker ~]# yum list postgres* | grep 11
postgresql-jdbc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-jdbc-javadoc.noarch 42.2.5-1.rhel7.1 pgdg11
postgresql-unit11.x86_64 7.0-1.rhel7 pgdg11
postgresql-unit11-debuginfo.x86_64 7.0-1.rhel7 pgdg11
postgresql11.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-contrib.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-debuginfo.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-devel.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-docs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-libs.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-llvmjit.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-odbc.x86_64 11.00.0000-1PGDG.rhel7 pgdg11
postgresql11-plperl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-plpython.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-pltcl.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-server.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql11-tcl.x86_64 2.4.0-2.rhel7.1 pgdg11
postgresql11-test.x86_64 11.1-1PGDG.rhel7 pgdg11
postgresql_anonymizer11.noarch 0.2.1-1.rhel7 pgdg11
[root@docker ~]#
[root@docker ~]#
[root@docker ~]# yum install postgresql11-server
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package postgresql11-server.x86_64 0:11.1-1PGDG.rhel7 will be installed
--> Processing Dependency: postgresql11-libs(x86-64) = 11.1-1PGDG.rhel7 for package: postgresql11-server-11.1-1PGDG.rhel7.x86_64
--> Processing Dependency: postgresql11(x86-64) = 11.1-1PGDG.rhel7 for package: postgresql11-server-11.1-1PGDG.rhel7.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql11-server-11.1-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package postgresql11.x86_64 0:11.1-1PGDG.rhel7 will be installed
---> Package postgresql11-libs.x86_64 0:11.1-1PGDG.rhel7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================
Installing:
postgresql11-server x86_64 11.1-1PGDG.rhel7 pgdg11 4.7 M
Installing for dependencies:
postgresql11 x86_64 11.1-1PGDG.rhel7 pgdg11 1.6 M
postgresql11-libs x86_64 11.1-1PGDG.rhel7 pgdg11 359 k
Transaction Summary
====================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 6.7 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): postgresql11-libs-11.1-1PGDG.rhel7.x86_64.rpm | 359 kB 00:00:04
(2/3): postgresql11-11.1-1PGDG.rhel7.x86_64.rpm | 1.6 MB 00:00:04
(3/3): postgresql11-server-11.1-1PGDG.rhel7.x86_64.rpm | 4.7 MB 00:00:02
----------------------------------------------------------------------------------------------------------------------------------------------------
Total 974 kB/s | 6.7 MB 00:00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : postgresql11-libs-11.1-1PGDG.rhel7.x86_64 1/3
Installing : postgresql11-11.1-1PGDG.rhel7.x86_64 2/3
Installing : postgresql11-server-11.1-1PGDG.rhel7.x86_64 3/3
Verifying : postgresql11-libs-11.1-1PGDG.rhel7.x86_64 1/3
Verifying : postgresql11-11.1-1PGDG.rhel7.x86_64 2/3
Verifying : postgresql11-server-11.1-1PGDG.rhel7.x86_64 3/3
Installed:
postgresql11-server.x86_64 0:11.1-1PGDG.rhel7
Dependency Installed:
postgresql11.x86_64 0:11.1-1PGDG.rhel7 postgresql11-libs.x86_64 0:11.1-1PGDG.rhel7
Complete!
[root@docker ~]#
No comments:
Post a Comment