How do I find package URLs with Yum?

user184413 asked:

I want to update my system (Fedora) with Yum, but I want to use aria2 to download the packages. There was something in pacman that you could use to get the update URLs (and put all links in a file.) Then, aria2 could use this file as an input list for download. What is the Fedora equivalent?

I answered:

Use yumdownloader. It’s in the yum-utils package.

To get URLs for packages:

yumdownloader --urls mariadb-server

To actually download a package and all its dependencies:

yumdownloader --resolve mariadb-server

You don’t really need aria2 at all.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.