Manual install RPM

Hi,
I’d like to install opendistroforelasticsearch version 0.9.0, which is elasticsearch version 6.7.1, elasticsearch-oss 6.7.1.1. I looked at my previous installation and it gave the following plugins:

[root@1.2.3.4] sudo bin/elasticsearch-plugin list

opendistro_alerting

opendistro_performance_analyzer

opendistro_security

opendistro_sql


[root@1.2.3.4] sudo bin/kibana-plugin list

opendistro-alerting@0.9.0.0

opendistro_security@6.7.1

I want to install is using RPM packages but I kept getting some errors as some dependencies cannot be installed whenever I run this command: sudo yum install opendistroforelasticsearch-0.9.0-1

error: %pre(elasticsearch-oss-0:6.7.1-1.noarch) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package elasticsearch-oss-6.7.1-1.noarch
  Installing : opendistro-alerting-0.9.0.0-1.noarch                                                                                                                                                                                       2/6 
Error unpacking rpm package opendistro-alerting-0.9.0.0-1.noarch
error: elasticsearch-oss-0:6.7.1-1.noarch: install failed
error: unpacking of archive failed on file /usr/share/elasticsearch/plugins/opendistro_alerting: cpio: mkdir
  Installing : opendistro-performance-analyzer-0.9.0.0-1.noarch                                                                                                                                                                           3/6 
Error unpacking rpm package opendistro-performance-analyzer-0.9.0.0-1.noarch
error: opendistro-alerting-0:0.9.0.0-1.noarch: install failed
error: unpacking of archive failed on file /usr/share/elasticsearch/bin/performance-analyzer-agent-cli;5d2d1343: cpio: open
  Installing : opendistro-sql-0.9.0.0-1.noarch                                                                                                                                                                                            4/6 
Error unpacking rpm package opendistro-sql-0.9.0.0-1.noarch
error: opendistro-performance-analyzer-0:0.9.0.0-1.noarch: install failed
error: unpacking of archive failed on file /usr/share/elasticsearch/plugins/opendistro_sql: cpio: mkdir
  Installing : opendistro-security-0.9.0.0-0.noarch                                                                                                                                                                                       5/6 
error: opendistro-sql-0:0.9.0.0-1.noarch: install failed
OpenDistro for Elasticsearch Security Demo Installer
 ** Warning: Do not use on production or public reachable systems **
Basedir: /usr/share/elasticsearch
Unable to determine Elasticsearch config directory. Quit.
warning: %post(opendistro-security-0:0.9.0.0-0.noarch) scriptlet failed, exit status 255
Non-fatal POSTIN scriptlet failure in rpm package opendistro-security-0.9.0.0-0.noarch
  Installing : opendistroforelasticsearch-0.9.0-1.noarch                                                                                                                                                                                  6/6 
  Verifying  : opendistroforelasticsearch-0.9.0-1.noarch                                                                                                                                                                                  1/6 
  Verifying  : opendistro-security-0.9.0.0-0.noarch                                                                                                                                                                                       2/6 
  Verifying  : opendistro-alerting-0.9.0.0-1.noarch                                                                                                                                                                                       3/6 
  Verifying  : elasticsearch-oss-6.7.1-1.noarch                                                                                                                                                                                           4/6 
  Verifying  : opendistro-performance-analyzer-0.9.0.0-1.noarch                                                                                                                                                                           5/6 
  Verifying  : opendistro-sql-0.9.0.0-1.noarch                                                                                                                                                                                            6/6 

Installed:
  opendistroforelasticsearch.noarch 0:0.9.0-1                                                                                                                                                                                                 

Dependency Installed:
  opendistro-security.noarch 0:0.9.0.0-0                                                                                                                                                                                                      

Failed:
  elasticsearch-oss.noarch 0:6.7.1-1                    opendistro-alerting.noarch 0:0.9.0.0-1                    opendistro-performance-analyzer.noarch 0:0.9.0.0-1                    opendistro-sql.noarch 0:0.9.0.0-1                   

Complete!

Would really appreciate any help. Thank you