Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:yum [2016/01/03 17:55] billdozor [Package Version Locking] |
linux_wiki:yum [2016/03/18 23:24] billdozor [Yum] |
||
---|---|---|---|
Line 6: | Line 6: | ||
**Checklist** | **Checklist** | ||
- | * Enterprise Linux (Red Hat based) | + | * Distro(s): Enterprise Linux |
---- | ---- | ||
Line 64: | Line 64: | ||
====== Package Excludes ====== | ====== Package Excludes ====== | ||
- | TODO | + | Exclude packages from a yum update, temporarily and persistently. |
+ | |||
+ | Exclude one time | ||
+ | <code bash> | ||
+ | yum update --exclude=kernel* | ||
+ | </ | ||
+ | \\ | ||
+ | |||
+ | Exclude persistently | ||
+ | <code bash> | ||
+ | vim / | ||
+ | |||
+ | exclude=kernel* httpd* | ||
+ | </ | ||
---- | ---- | ||