1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How can I use yum to download packages, even if they're installed?

Discussion in 'Linux / BSD / Mac OS X' started by Hybrid_theory, Sep 11, 2011.

  1. Hybrid_theory

    Hybrid_theory New Member

    Mar 31, 2007
    1,895 (0.69/day)
    Thanks Received:
    ontario canada
    I need the Development Tools package for a CentOS machine on an intranet. So I built a CentOS desktop VM where it can touch the internet to pull down the needed packages. http://www.cyberciti.biz/faq/centos-linux-install-gcc-c-c-compiler/
    shows theres 105 packages. When I run the command:
     yum --downloadonly --downloaddir=. -y groupinstall "Development Tools"
    I get 49 that need to be installed. It wont download whats installed already. I found one post that suggested adding --installroot=. to the command. But then yum doesnt like the URL for the repo.

    Ideas on how I can get all these packages. The machine I need this on, doesnt even have make or binutils installed, its very barebones.
  2. techlib New Member

    Sep 16, 2011
    1 (0.00/day)
    Thanks Received:
    Try a different repository:
    #64 bit ISO repo

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page