• We've upgraded our forums. Please post any issues/requests in this thread.

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

Joined
Mar 31, 2007
Messages
1,895 (0.48/day)
Likes
162
Location
ontario canada
System Name home brew
Processor Intel Corei7 3770K OC @ 4.5Ghz
Motherboard ASUS P8Z77-V
Cooling Corsair H100
Memory 16GB DDR3 1600 GSKILL
Video Card(s) Powercolor Radeon 7970, MSI Radeon 7970
Storage Mushkin Chronos Deluxe 240gb. 2 TB Hdd.
Display(s) 3x24inch Dell Ultra IPS
Case CM storm trooper
Power Supply Antec Quattro OC ed. 1200w
Software Windows 7 Business x64
Benchmark Scores vantage: P43089
#1
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.
 

techlib

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