Difference between revisions of "Rpm"
From Notes_Wiki
| m | m | ||
| Line 11: | Line 11: | ||
| Detailed information on RPM and yum is available at https://www.ibm.com/developerworks/linux/library/l-lpic1-v3-102-5/?ca=drs- | ==References== | ||
| References for understanding and learning RPM properly: | |||
| *Detailed information on RPM and yum is available at https://www.ibm.com/developerworks/linux/library/l-lpic1-v3-102-5/?ca=drs-    | |||
| *RPM uses a fairly complex logic while upgrading a package to decide fate of configuration files.  The logic is described in detail at http://www.rpm.org/max-rpm/ch-rpm-upgrade.html | |||
Revision as of 13:54, 25 March 2013
<yambe:breadcrumb>Package_management_tools|Package management tools</yambe:breadcrumb>
rpm
Finding which package installed given file
Many times we require to know the name of the page which installed a given file. In such cases one can use:
rpm -qf <full-path-of-file>
to list the name of the rpm package.
References
References for understanding and learning RPM properly:
- Detailed information on RPM and yum is available at https://www.ibm.com/developerworks/linux/library/l-lpic1-v3-102-5/?ca=drs-
- RPM uses a fairly complex logic while upgrading a package to decide fate of configuration files. The logic is described in detail at http://www.rpm.org/max-rpm/ch-rpm-upgrade.html

