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

    Joined:
    Mar 31, 2007
    Messages:
    1,895 (0.69/day)
    Thanks Received:
    163
    Location:
    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:
    Code:
     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

    Joined:
    Sep 16, 2011
    Messages:
    1 (0.00/day)
    Thanks Received:
    0
    Try a different repository:
    Code:
    #64 bit ISO repo
    http://mirrors.hns.net.in/centos/5.5/os/x86_64/
     

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

Share This Page