I understand how to install an rpm from a given url. Example: RUN
yum -y install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
So that is the easy part.
My question is, how do I do the exact same thing, only with the rpm folder living on my server, and not on a URL
the path on the server for example is /var/opt/project/sphinx-1.3.2-1.x86_64.rpm
I have tried RUN
rpm -ivh /var/opt/project/sphinx-1.3.2-1.x86_64.rpm But this returns no file or directory.
How can I install the rpm from the server I am on?