configuration

The value of the repo configuration.

Example for yum repositories

[main]

name=MyCustomRepository

baseurl=https://my-custom-repository

enabled=1

For information about other options available for your yum repository configuration, see dnf.conf(5) on the man7.org website.

Examples for Ubuntu Server and Debian Server

deb http://security.ubuntu.com/ubuntu jammy main

deb https://site.example.com/debian distribution component1 component2 component3

Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see jammy (5) sources.list.5.gz on the Ubuntu Server Manuals website and sources.list format on the Debian Wiki.