Error setting up pacs module.

Tags: #<Tag:0x00007f01b9872938> #<Tag:0x00007f01b9872848>

I am trying to setup pacs & dcm4chee module. However, I am getting following error :-

**yum install -y dcm4chee pacs-integration**

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.praction.in
 * epel: mirror2.totbb.net
 * extras: mirrors.praction.in
 * updates: mirrors.praction.in
Resolving Dependencies
--> Running transaction check
---> Package dcm4chee.noarch 0:0.92-26 will be installed
--> Processing Dependency: postgresql96 for package: dcm4chee-0.92-26.noarch
---> Package pacs-integration.noarch 0:0.92-26 will be installed
--> Processing Dependency: postgresql96 for package: pacs-integration-0.92-26.noarch
--> Finished Dependency Resolution
Error: Package: dcm4chee-0.92-26.noarch (bahmni)
           Requires: postgresql96
Error: Package: pacs-integration-0.92-26.noarch (bahmni)
           Requires: postgresql96
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Could anyone please help with the issue.

you don’t have postgres installed. You can install using Bahmni installer program and choose to install only the dm4chee

yum list installed | grep postgres
Failed to set locale, defaulting to C
postgresql92.x86_64                    9.2.24-5PGDG.rhel6        @pgdg92        
postgresql92-contrib.x86_64            9.2.24-5PGDG.rhel6        @pgdg92        
postgresql92-libs.x86_64               9.2.24-5PGDG.rhel6        @pgdg92        
postgresql92-server.x86_64             9.2.24-5PGDG.rhel6        @pgdg92       

It seems postgres in already installed. Since working of Openerp and Openelis also depends on postgres being installed. However, pacs is expecting postgres96 and not 92.

Could you please provide me the command for the same (installing specific version).