\ Computer \ OS \ *Nix \ Yum \

Notes

Enable a disabled yum repo for one run and print yum variables from YumBase.

UjnotesCC0 1.0

Enable a disabled yum repo for one run and print yum variables from YumBase.

Enable a disabled repo

--enablerepo=webtatic

Use this to use a repository that is otherwise disabled. Recommended to leave it disabled (enabled = 0) to keep the installation state.

yum.conf

/etc/yum.conf

yum variables

python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Loaded plugins: fastestmirror
{'arch': 'ia32e',
 'basearch': 'x86_64',
 'releasever': '5'}
Updated: 2026 Aug 19