Ask Your Question
2

Baseurl and Metalink. What are they?

asked 2018-06-28 09:31:42 -0500

Abdul gravatar image

updated 2018-11-04 03:23:11 -0500

hhlp gravatar image

/etc/yum.repos.d/fedora.repo

File in this location has baseurl and metalink.

What are they and what they do mean?

Most importantly, why should I care about them?

Appreciate your help. Have a great day.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2018-06-28 11:12:19 -0500

florian gravatar image

updated 2018-06-29 13:24:45 -0500

a baseurlis the URL of one repository server (it can be something like: https://dl.fedoraproject.org/pub/fedo.... or using the mirror service: https://download.fedoraproject.org/pu....)

a metalink is an URL to a xml document (repodata.xml) that includes checksums and a whole list of mirror servers that have metadata (repodata).

Examples:

You should not have to care about the two. Just leave dnf use the metalink (that's default setting) and as long as everything works fine, don't worry. (Take a look at /etc/yum.repos.d./fedora.repo - you see both URLs there, one is commented out (#).

Edit: a quick search returned this blog post, it has a few more details on metalinks: https://www.scrye.com/wordpress/nirik...

edit flag offensive delete link more

Comments

2

Because of the multiple mirror servers, if one doesn't work dnf will try one of the other ones. That happens on a regular basis.

villykruse gravatar imagevillykruse ( 2018-06-28 15:19:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-06-28 09:31:42 -0500

Seen: 843 times

Last updated: Jun 29 '18