FreeKB - yumdownloader (download a package)
Linux Commands - yumdownloader (download a package)

The yumdownloader command can be used to download but not install a package. The yumdownloader command is included in the yum-utils package.

yum install yum-utils


In this example, yumdownloader is used to download the httpd package. This will download an RPM. The RPM command can be used to install the package.

yumdownloader httpd
. . .
Loaded plugins: fastestmirror
Loading mirror speeds from cached host
file * base: * extras: * updates:



By default, the RPM of the package will be downloaded into the present working directory. The --destdir option can be used to specify a directory for the RPM.

yumdownloader --destdir /home/<username>/Downloads httpd


Following are commonly used yum commands.

Alternatively, the Ansible yum module can be used to automate the process of managing packages.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 6b3f5 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |