How can I install all packages from given yum repo? Yum list contains a header and you cannot tell it to print only the first line.
Thanks for providing a good answer. However, I find that this way is simpler and doesn't require
sudo yum --disablerepo=\* --enablerepo=my-cool-repo install \*
That being said,
yum-utils is useful for other things.
Instead of yum, use repoquery from package yum-utils.
repoquery --disablerepo=* --enablerepo=my-cool-repo -a | xargs sudo yum -y install