We've got a local RPM repo server, and not infrequently we need to find software that's hosted in external repos and migrate it so that it's hosted locally instead.
How do you copy an external RPM hosted in an external repo to a local repo?
We've got a local RPM repo server, and not infrequently we need to find software that's hosted in external repos and migrate it so that it's hosted locally instead.
How do you copy an external RPM hosted in an external repo to a local repo?
Follow this command and get download the directory which you contains the RPM files.
wget -r --no-parent http:// directory/path/to/remote/server
Getting the file has already been covered.
If you want to add an rpm to an existing yum repo, you would put the file with the other rpms and run:
createrepo --update /path/to/repository/root
This will update the metadata needed to make the package available.