LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install pgAdmin using yum (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-pgadmin-using-yum-917053/)

jstuardo 12-04-2011 07:39 AM

How to install pgAdmin using yum
 
Hello...

I am trying to install pgAdmin III in RHEL 5 by using this command:

Code:

yum install pgadmin3_91.i386
But a lot of dependencies errors occurs.

How can I make yum to install dependencies automatically?

Thanks
Jaime

acid_kewpie 12-04-2011 12:46 PM

if you get dependencies, then you should be able to find what repo provides all of them. If you showed us what they were, we could tell you I expect, although it should be pretty trivial for you to google it yourself.

knudfl 12-04-2011 02:25 PM

The package 'pgadmin3_91' from the "PostgreSQL repo" has 2 dependencies,
not installed on a basic OS install :
1) wxGTK
2) postgresql84-libs

Both are in the "Redhat repo" : Please activate your Redhat account.

..

jstuardo 12-04-2011 02:44 PM

This is the yum output:

Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package pgadmin3_91.i386 0:1.14.0-3.rhel5 set to be updated
--> Running transaction check
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5) for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_xrc-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_stc-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_stc-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_xml-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_xrc-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_net-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libpq.so.5 for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_net-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_html-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8.5) for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_html-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: wxGTK for package: pgadmin3_91
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql91-libs.i386 0:9.1.1-1PGDG.rhel5 set to be updated
---> Package wxGTK.i386 0:2.8.12-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libwx_baseu-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8) for package: wxGTK
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8.10) for package: wxGTK
--> Processing Dependency: libwx_baseu_xml-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_net-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8) for package: wxGTK
--> Processing Dependency: libwx_baseu-2.8.so.0 for package: wxGTK
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8.5) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_net-2.8.so.0 for package: pgadmin3_91
--> Processing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8) for package: pgadmin3_91
--> Processing Dependency: wxBase = 2.8.12-1.el5 for package: wxGTK
--> Processing Dependency: libwx_baseu_xml-2.8.so.0 for package: wxGTK
--> Finished Dependency Resolution
Error: Missing Dependency: libwx_baseu-2.8.so.0 is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu_xml-2.8.so.0 is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu_net-2.8.so.0 is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu_net-2.8.so.0(WXU_2.8) is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu-2.8.so.0(WXU_2.8) is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8) is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu-2.8.so.0(WXU_2.8.5) is needed by package pgadmin3_91
Error: Missing Dependency: libwx_baseu-2.8.so.0(WXU_2.8) is needed by package wxGTK
Error: Missing Dependency: libwx_baseu-2.8.so.0(WXU_2.8.10) is needed by package wxGTK
Error: Missing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8) is needed by package wxGTK
Error: Missing Dependency: libwx_baseu-2.8.so.0 is needed by package wxGTK
Error: Missing Dependency: wxBase = 2.8.12-1.el5 is needed by package wxGTK
Error: Missing Dependency: libwx_baseu_xml-2.8.so.0 is needed by package wxGTK

acid_kewpie 12-04-2011 02:44 PM

Oh yeah, that's the biggy I missed... RHN support. If you don't use RHN you have no business using RHEL in the first place really.

jstuardo 12-04-2011 03:04 PM

What do you mean with that?

akuthia 12-04-2011 03:08 PM

He means that RHEL is a paid for linux flavor. it's Paid for, because you're paying for the support they provide you.

acid_kewpie 12-04-2011 03:09 PM

that updates and package repositories are handled as part of the *paid for* RHN service. If you aren't paying to use RHN then you should convert the installation to CentOS instead, which is pretty simple to do.

jstuardo 12-04-2011 03:36 PM

Well... maybe itīs simple, but I don't know how to do it.... never mind, I was just wanting to test an application that uses PostgreSQL locally. I am a Windows user and installed Linux on a Virtual Machine but if this is a complicated and time consuming task, I will prefer to continue testing the application on my hosting company.

Thanks anyways,
Jaime


All times are GMT -5. The time now is 01:00 AM.