Difference between revisions of "Yum"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Package_management_tools|Package management tools</yambe:breadcrumb> =yum= ==yum provides== Sometimes we know the name of the program/command that is requir...") |
m |
||
Line 8: | Line 8: | ||
</pre> | </pre> | ||
to list names of all packages which provide a file with given name. Then based on package description correct package can be installed to obtain the program. | to list names of all packages which provide a file with given name. Then based on package description correct package can be installed to obtain the program. | ||
==References== | |||
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- | |||
*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>
yum
yum provides
Sometimes we know the name of the program/command that is required but we do not know which rpm file or package should be installed in order to install the given program/command. In such cases one can use:
yum provides */<binary-name>
to list names of all packages which provide a file with given name. Then based on package description correct package can be installed to obtain the program.
References
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-
- 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