How to install rpm file along with its all dependencies?
Use yum instead.
yum localinstall ...
For example:
yum localinstall http://pkgs.repoforge.org/subversion/subversion-devel-1.7.1-0.1.el6.rfx.i686.rpm
The example above will install the rpm and its dependencies automatically.
you may make local yum repository and then run command
yum install hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm
or find the online repository where this package is available and then put the url in baseurl in .repo file.
You can enable the EPEL Repository in RHEL - download the epel-release-6-8.noarch.rpm package using wget and then install it using rpm:
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm
Then, execute the following command:
yum install gcc-c++ gcc make bison flex binutils-devel openldap-devel libicu-devel libxslt-devel libarchive-devel boost-devel openssl-devel apr-devel apr-util-devel
Finally, install the hpccsystems-platform package:
rpm -Uvh hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm