Skip to content

Instantly share code, notes, and snippets.

@kikitux
Last active December 11, 2015 22:49
Show Gist options
  • Save kikitux/4672125 to your computer and use it in GitHub Desktop.
Save kikitux/4672125 to your computer and use it in GitHub Desktop.
public-yum-downloader.sh -h
-h|--help this screen
-a|--arch=<arch> architecture (ie. i386 or x86_64)
-R|--release=<release> release to download
-P|--path=<path> destination path of download (ie. /var/www/html)
-p|--proxy=<url> proxy (ie http://proxy:3128)
-r|--repo=<repo> manual repo download (ie. ol6_addons)
-m|--min minimal package download for LXC host
-u|--url=<url> local yum repo url (ie. http://mirandaa00)
-s|--src download source rpm
-l|--local=<path>> local path to check for rpms (ie. /media/iso)
Release is of the format "major.minor", for example "5.8", "6.3", or "6.latest"
To download latest UEK kernel, use 6.UEK or 5.UEK
Download from https://github.com/kikitux/public-yum-downloader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment