From: http://hi.baidu.com/dandanfeng166/item/9dd05395361290abcc80e564
The default yum in fedora, in addition to installing and managing software packages,
You can also use Yum-utils to download the source code.
In fedora 8, only yum is installed by default, and the Yum-utils toolkit is not installed,
First, install the following command:
Yum install Yum-utils
[Root @ localhost etc] # Yum install Yum-utils
Setting up install process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch. 1.8-1. fc8 set to be updated
--> Finished dependency resolution
Dependencies resolved
========================================================== ============================================
Package arch version repository size
========================================================== ============================================
Installing:
Yum-utils noarch 1.1.8-1. fc8 fedora 48 k
Transaction Summary
========================================================== ============================================
Install 1 package (s)
Update 0 package (s)
Remove 0 package (s)
Total download size: 48 k
Is this OK [Y/n]: Y
Downloading packages:
(1/1): yum-utils-1.1.8-1. 100% | = 48 KB
Running rpm_check_debug
Running transaction Test
Finished transaction Test
Transaction test succeeded
Running transaction
Installing: Yum-utils ######################### [1/1]
Installed: yum-utils.noarch. 1.8-1. fc8
Complete!
After installing Yum-utils, you can use the yumdownloader command:
Yumdownloader -- source vsftpd