0

i cannot seem to download development tools using yum

I would like to run this command

yumdownloader @"Development Tools" -- resolve 

It keeps on telling me no such package for group

No match for argument Development Tools

but this works

yum group install "Development Tools"
aceminer
  • 145
  • 1
  • 5

1 Answers1

0

Per https://unix.stackexchange.com/questions/89315/how-to-use-yumdownloader-resolve-package-name-on-yum-y-groupinstall#89317 (and a quick check of https://linux.die.net/man/1/yumdownloader), yumdownloader is (for the purposes of this discussion) equivalent to running yum install.

You are trying to do a yum groupinstall, hence your issue.

As suggested in the Unix/Linux answer, if you really want to use yumdownloader, you need to provide it the actual packages in the group, not the group name. In the same way you would have to do that for yum install.

If you check Download RPM packages for command which is already installed, there may be other ways to get the packages you want, and ones that could still allow you to use yum groupinstall.

iwaseatenbyagrue
  • 3,688
  • 15
  • 24
  • I've copy+paste the OPs command onto several CentOS systems and (ignoring the -- resolve) issue it just works as expected. – user9517 Mar 17 '17 at 08:56