Difference between revisions of "Rpm"

From Notes_Wiki
m
m
Line 12: Line 12:


==References==
==References==
References for understanding and learning RPM properly:
References for understanding and learning rpm and yum properly:
*Information on restoring original files if package was installed via RPM is at https://www.g-loaded.eu/2012/03/26/restore-original-configuration-files-from-rpm-packages/
*Detailed information on RPM and yum is available at https://www.ibm.com/developerworks/linux/library/l-lpic1-v3-102-5/?ca=drs-   
*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
*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:55, 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 and yum properly: