Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My system is centos, and now I am installing packages using yum command.

Updating for dependencies:
 apr-util           i386      1.3.9-1.el5             lxcenter-updates    203 k
 gcc-gfortran       i386      4.1.2-52.el5_8.1        updates             3.1 M
 libgcc             i386      4.1.2-52.el5_8.1        updates              97 k
 libgfortran        i386      4.1.2-52.el5_8.1        updates             232 k
 libstdc++          i386      4.1.2-52.el5_8.1        updates             363 k
 libstdc++-devel    i386      4.1.2-52.el5_8.1        updates             2.8 M
 php                i386      5.2.17-13               lxcenter-updates    3.5 M
 php-cli            i386      5.2.17-13               lxcenter-updates    2.6 M
 php-common         i386      5.2.17-13               lxcenter-updates    581 k
 php-pdo            i386      5.2.17-13               lxcenter-updates    167 k

Transaction Summary
================================================================================
Install      22 Package(s)
Upgrade      17 Package(s)

Total download size: 58 M
Downloading Packages:



[root@localhost ~]# pgrep curl
[root@localhost ~]# pgrep wget

[root@localhost ~]# netstat -nap | grep yum
[root@localhost ~]# 

From this point, we know the download tool is neither curl or wget, not yum itself either.

So I wonder what tool yum uses to download remote files?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

It uses urlgrabber to download the files.

share|improve this answer
    
seems it doesn't use urlgrabber:( [root@localhost ~]# pgrep urlgrabber -lf [root@localhost ~]# 54% [==============================================================> ] 4,618,214 --.-K/s eta 6m 29 –  hugemeow Aug 22 '12 at 10:59
    
Yes it does. urlgrabber is not a program. –  Ignacio Vazquez-Abrams Aug 22 '12 at 11:19
    
i find it now, it's kind of python script, how did yum invoke it? –  hugemeow Aug 22 '12 at 12:09
    
yum imports it and invokes classes and functions as appropriate. –  Ignacio Vazquez-Abrams Aug 22 '12 at 12:15
    
lol, yum is also a python script:( i have been using it for years without noticing this fact:( –  hugemeow Aug 22 '12 at 15:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.