Saturday, December 3, 2011

yum-downloadonly

with this plugin we can save the packages for future install without internet

1.>>>>>>>>>yum install yum-downloadonly

2.>>>>>>>>>yum update httpd -y --downloadonly --downloaddir=/opt

here update can be changed to install…….httpd with needed package name…..opt with needed directory

later we can install downloaded rpm with

3.>>>>>>>>>rpm -ivUh *.rpm


No comments:

Post a Comment