Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

yumdownloader is also a script (for manaul "downloading" (--download-only and /or --downloaddir=foo usefull for source build/downloading

share|improve this answer
The question asks what tool yum uses. Are you saying it uses yumdownloader rather than urlgrabber? – fixer1234 Apr 12 '15 at 17:57
the urlgrabber uses yumdownloader as a wrapper yes – linuxdev2013 Apr 13 '15 at 17:17

Your Answer


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.