A local offline yum repository is the solution :
http://www.g-loaded.eu/2005/12/11/local-yum-repository/
> > How to create a local YUM repo ( # yum install createrepo ).
I.e. then you can use yum, like you were online.
And let yum take care of all the dependencies. ( Which 'rpm -Uvh' cannot do.)
A comment to post #2 : The command # rpm -ivh <package>
is mostly used, if you want two versions of the same package (library)
installed at the same time.
The standard install command used by all 'Package Managers' and by yum is
# rpm -Uvh <package>
( Most often it is # rpm -Uvh <package> <package> <package> <package> .. .. )
..