Skip to content

Configuration Options

Oliver Kurth edited this page Dec 17, 2021 · 13 revisions

Configuration Options

The config file resides in /etc/tdnf/tdnf.conf. A typical configuration looks like this:

[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=true
repodir=/etc/yum.repos.d
cachedir=/var/cache/tdnf

cachedir

Type: string

Default: /var/cache/tdnf

The location of the cache directory. This is the directory where metadata are stored, and RPMs will be temporarily stored when they are downloaded.

clean_requirements_on_remove

Type: boolean

Default: false

Currently not implemented!

Determines whether automatically installed dependencies will also be removed when a package is removed.

distroarchpkg

Type: string

Default: x86_64

The architecture of the distribution.

distroverpkg

Type: string

Default: system-release

excludepkgs

Type: list

Default: none

List of packages to be excluded from any operations. Packages in this list will not be installed, updated or downgraded.

gpgcheck

Type: boolean

Default: false

Determines whether packages will be checked for their gpg signature.

installonly_limit

Type: integer

Currently not implemented!

Number of concurrently install only packages.

keepcache

Type: boolean

Default: false

Whether to keep downloaded packages after installation.

maxstringlen

minversions

Type: list

Default: none

noplugins

pluginpath

pluginconfpath

proxy

proxy_password

proxy_username

repodir

Type: string

The location where the .repo files reside. Typically this is /etc/yum.repos.d.

Clone this wiki locally