rpm installation dependencies


Can any one tell me how to resolve the dependencies while installing any rpm? I am using RHEL5 (unlisenced). so cant run yum command. Before RHEL5 i was usign --aid parameter and if the rpm was in the same directory it resolve the dependencies.
Now sometimes i have to mention so many rpm in the same command but even then it doesnt work.

Does someone know how to resolve the dependencies while installing the rpm?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Deepak KosarajuDevOps EngineerCommented:
copy the following and install the rpm
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
then its done, you are ready to use yum with 9000+ rpm's in its repository
Gud luck

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
samengrAuthor Commented:
I installed the rpm as

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Again, I am unable to install the packages with yum command

[root@example ~] yum install mod_ssl
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing pachage install arguments
No Match for argumnet: mod_ssl
Nothing to do

Any idea what should I do now?
Many thanks.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.