For example we want to sync the epel repo for offline use If you are on CENTOS 7 you can just type: # yum install epel-release If you are on Red Hat Enterprise Linux 7 add the EPEL repo this way: # wget # rpm -ivh epel-release-latest-7.noarch.rpm Install the reposync utility which is included