0

I need to install git on a machine which doesn't have internet connection. I am wondering if there is any option to ask yum to keep a backup of rpm and dependencies it downloads.

OS: CENTOS

1 Answer 1

0

Simply just change keepcache=0 to keepcache=1 in /etc/yum.conf file.

NOTE: ‍‍‍keepcache=0 exists by default and you only need to change it to 1; if it's not there just add keepcache=1 to the file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .