Sunday, October 4, 2009

Yum Utils

1] Check the available packages for update

# yum check-update
2] Exclude a package from getting updated
Exclusion can be done in 2 ways
i] Runtime
# yum check-update --exclude package-name
e.g.
# yum check-update --exclude firefox
or using a wild card, by which all the packages starting with this name will be excluded from update.
# yum check-update --exclude openoffice*
ii] Defining in configuration
# vi /etc/yum.conf
append the following line in there
exclude= package1 package2 package3
we can also use wild card here as above.

Will be updating the same from time to time...

0 comments:

Post a Comment