User Tools

Site Tools


linux:yum_reposync

This is an old revision of the document!


Synchronize a reposory using reposync

# dnf install -y dnf-utils createrepo

The reposync command is used to synchronize a remote yum repository to a local directory, using yum to retrieve the packages.

# mkdir -p /software/redhat/8/base
# /usr/bin/reposync --newest-only --repoid=rh8_baseos_latest -p /software/redhat/8/base
# /usr/bin/createrepo /software/redhat/8/base
linux/yum_reposync.1627293718.txt.gz · Last modified: 2021/07/26 12:01 by manu