Monday, November 21, 2011

yum useful info

Add the below line to /etc/yum.conf to enable list to show older versions of packages.
clean yum cache
# yum clean all

clean subscription as well if using RHEL
# subscription-manager clean

# yum list --noplugin

for those using RHEL,
it got function for download the rpm package to local disk and install later
below is example to download only for haproxy
# yum install --downloadonly --downloaddir=/opt/ haproxy

No comments:

Post a Comment