1. How to check the installed software(rpm’s) on Redhat Linux ?
Answer: rpm -qa package_name (or) rpm -qa |grep package_name*
2. How to install specific software package using rpm command on Redhat Linux ?
Answer: rpm –ivh package_name
3. How to remove the software package from on Redhat Linux ?
Answer: rpm -ev package_name
4.How to upgrade the existing Redhat package using rpm command ?
Answer: rpm -Uvh package_name
5.How to display the list of installed software package’s files ?
Answer: rpm -ql package_name
6. How to get the installed software information like package version and short description of package ?
Answer: rpm -qi package_name
7.How to find files belongs to which rpm package ?
Answer:rpm -qf file_location
8.How to display list of configuration files for specific package ?
Answer:rpm -qc package_name
9.How to display a list of recently installed software ?
Answer:rpm -qa –last
10.How to get the list of dependencies for specific rpm file ?
Answer:rpm -qpR rpm_file
11.How to get the list of dependencies for specific package ?
Answer:rpm -qR package_name
12.How to remove the package without checking the dependencies on Redhat Linux ?
Answer:rpm -ev –nodeps package_name
