command to install r.p.m. pacages on linux centos 5

hi guys, please tell methe commnd to install the given pacages on linux centos 5.5
             
               compat-db-4.2.52-5.1.i386.rpm

-           sysstat-7.0.2-1.el5.i386.rpm

-           libaio-devel-0.3.106-3.2.i386.rpm

-           libXp-1.0.0-8.1.el5.i386.rpm
nirvairghumanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

pilson66Commented:
rpm -ivh file.rpm
or
rpm -ivh file1.rpm file2.rpm file*.rpm *.rpm

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
farzanjCommented:
As pilson66 said.
rpm -ivh <package name>

If, however, you don't have these RPM files, or if it complains about dependencies, then you can do
yum install compat-db
etc.
nirvairghumanAuthor Commented:
hi, i have used both commands firstly i tried
  rpm -ivh then the error is ---   no such fileor directory
 secondly i used
 yum install compat-db
then again error
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

farzanjCommented:
To use the first command, make sure you are in the correct directory
and check that rpms are located in that directory

ls *rpm

Then do

rpm -ivh TAB TAB

TAB means press tab key twice.

For the second command, I would like to see the error message
farzanjCommented:
Which directory do you have rpm files in?

Suppose it is /root/tmp

then first go to that directory
cd /root/tmp
JUST Example
farzanjCommented:
Another clarification, sorry.

Tab tab doesn't mean you would not need the entire rpm name.  You would need the entire name till .rpm
nirvairghumanAuthor Commented:
thanks GURU
farzanjCommented:
You are most welcome.  Anything else?
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
Linux OS Dev

From novice to tech pro — start learning today.