Home » Operating System » How to Download RPM Package and its dependencies using Yum

How to Download RPM Package and its dependencies using Yum

Yum is a great tool to install packages in fedora. If we download a package and its dependencies then we can use these downloaded rpms to install in a system which is not connected to internet.

for download packages and its dependencies using yum we need a package called yum-downloadonly

download from here


and install.

This will add two options to yum commnad

1. –download only


usage is

yum install mplayer –downloadonly –downloaddir=/path/to/dir

The path 2

the rpms are stored in the dir /var/yum/cache

go there and simply copy the rpms which are installed

simple way.

methode 1 is safer than 2

Happy hacking —!!

1 thought on “How to Download RPM Package and its dependencies using Yum”

  1. Interesting and informative post.

    I was looking out for a company that could provide customized and affordable SEO services and with whom I could touchbase on a daily basis. I was very impressed with the professionalism and quick response time of Seo Traffic Spider and hired their full time SEO services. Its interesting that they not only offer a customized optimization plan but also provide a superb discount on their SEO combinations.

    I think this would be a helpful start for anyone looking out for highly professional seo services and who prioritize quick customer response time and chat availability. You can surely get it all here.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.