Save yum packages for later offline installation

Hire us for your custom mobile application and Web Application development needs . You can be assured your final deliverable, no matter the technology its built on, will be secure, scalable and sustainable in whatever environment its hosted.

WhatsApp : +918500018686 :: skype:




Sometimes we may need to save installation packages which are installed by using  yum.

This is useful if we want to reinstall the rpm packages when  internet is not available .


# vi /etc/yum.conf













Now we have all packages saved in /var/cache/yum directory  and we can install all packages including dependencies with the command rpm -ivh *.rpm

# cd /var/cache/yum

#rpm -ivh *.rpm


If any dependencies are missing , we can insert the OS installation disk and type the command ‘ yum localinstall *.rpm’.

#yum localinstall *.rpm

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top