周末花了一天时间,把 yum-axelget更新到Fedora20. 实现的基本原理就是:在Yum Code下载之前,用axel把所有需要的RPM/DRPM提前下载好。之前的版本有问题,主要是因为presto(Delta RPM)现在直接merge到Yum Core Code。
远期计划支持多种下载工具,让用户自己选择。
项目地址:http://yum-axelget.googlecode.com/
截图:
[ray@fedora yum-axelget]$ sudo yum install kernel-debug-devel
Loaded plugins: axelget, fastestmirror, priorities
No metadata available for fedora
No metadata available for rpmfusion-free
No metadata available for rpmfusion-free-updates
No metadata available for rpmfusion-nonfree
No metadata available for rpmfusion-nonfree-updates
No metadata available for updates
Finish Download MetaData of Enabled Repo
Loading mirror speeds from cached hostfile
* fedora: opensource.nchc.org.tw
* rpmfusion-free: mirror.bjtu.edu.cn
* rpmfusion-free-updates: mirror.hust.edu.cn
* rpmfusion-nonfree: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.hust.edu.cn
* updates: opensource.nchc.org.tw
Resolving Dependencies
--> Running transaction check
---> Package kernel-debug-devel.x86_64 0:3.13.8-200.fc20 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Installing:
kernel-debug-devel x86_64 3.13.8-200.fc20 updates 8.7 M
Transaction Summary
======================================================================================================================================================
Install 1 Package
Total download size: 8.7 M
Installed size: 32 M
Is this ok [y/d/N]: y
Downloading packages:
[1/1]Ok, try to use axel to download the following big file: 9075704 B
Initializing download: http://opensource.nchc.org.tw/fedora/linux/updates/20/x86_64/kernel-debug-devel-3.13.8-200.fc20.x86_64.rpm
File size: 9075704 bytes
Opening output file /var/cache/yum/x86_64/20/updates/packages/kernel-debug-devel-3.13.8-200.fc20.x86_64.rpm
Starting download
Connection 1 finished ]
Connection 2 finished ]
Connection 0 finished ]
Connection 3 finished ]
[100%] [..................................................] [ 1.1MB/s] [00:00]
Downloaded 8863.0 kilobytes in 7 seconds. (1171.10 KB/s)
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-debug-devel-3.13.8-200.fc20.x86_64 1/1
Verifying : kernel-debug-devel-3.13.8-200.fc20.x86_64 1/1
Installed:
kernel-debug-devel.x86_64 0:3.13.8-200.fc20
Complete!