Tuesday, September 29, 2015

RPM Q & A PAGE -1

RPM INTERVIEW QUESTIONS AND ANSWERS 

PAGE - 1

1..What is rpm packages?
The RPM Package Manager, or RPM, started life as the
packaging format for Red Hat Linux Since then, RPM has grown to be the accepted package format for many other Linux distributions, including SUSE Linux. RPM has also been adopted as the official package file format by the Linux Standards Base

2..How install RPM with all the dependency packages?
#  rpm –ivh  package_name

3..How to check the packages installed   in to our system?
# rpm –qa  package_name

4..What are all the five basic modes in RPM?
1.Install : It is used to install any RPM package.
2.Remove : It is used to erase, remove or un-install any RPM package.
3.Upgrade : It is used to update the existing RPM package.
4.Verify : It is used to query about different RPM packages.
5.Query : It is used for the verification of any RPM package.

5..How to remove the rpm package?
# rpm -e package_name

6..How to list the  installed  files in the rpm package?
 # rpm -ql package_name   

7..How to create  rpm database?
#   rpm –initdb

8..How to verify the rpm package?
# rpm -Vp 

9..How many commands to install the packages? What they are?
rpm and yum

10..Explain the main difference between rpm and yum?
The  yum  install all the package including dependencies, but  rpm  install each and every  dependency separately . 

No comments: