Originally Posted by vikashjai
can not i directly install it using command "yum install /opt/Packages/<package-name>.rpm"
Yes, you can. In fact, Redhat recommends to install that way. But what happens when it has dependencies? If you have local repo, then dependencies are taken from that repo, else it is downloaded and installed from 'base' repo.