Link to home
Start Free TrialLog in
Avatar of tjie
tjieFlag for United States of America

asked on

centos 5.3: How to install "rpm"

Hi,
1) I have a machine A which has a Centos 5.3 operating system
2) I want to practise to install "RPM" in this machine
3) I try to get the "samba" rpm as follows:
[root@localhost~]#rpm qa|grep -i"samba"

4) It gets the results like this:
samba-client-3.0.33-3.7.el5
system-config-samba-1.2.41-3.el5
samba-3.0.33-3.7.el5
samba-common-3.0.33-3.7.el5

5) Now, i try to practise to install "rpm" as follows:
[root@localhost~]#rpm -ivh samba-client-3.0.33-7.7.el5
The Result is:
error: open of samba-client-3.0.33-3.7.el5 failed: no such file or directory

6) I try another one, like this:
[root@localhost~]#rpm -ivh system-config-samba-1.2.41-3.el5
The Result is:
error: open of system-config-samba-1.2.41-3.el5 failed: no such file or directory

7) I am not sure which one is WRONG HERE
8) My goal: I want to be able to install an "RPM" (any "RPM"; in this case, i select "samba")
9) My question:
First: Would you show me "what wrong here"?
Second: Please "direct" or "navigate" me to install an "RPM" correctly (any "rpm")
10) Thank you

tjie
SOLUTION
Avatar of sandipshah
sandipshah

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of ajay_mhasal
ajay_mhasal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tjie

ASKER

How and where to CHECK whether the "RPMs" have been installed or no?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial