Notifications
Clear all

How can we find the yum variables been declared in linux ?  


amrit_3327
(@amrit_3327)
Trusted Member
Joined: 1 year ago
Posts: 61
Topic starter  

Variables such as basearch, releasever etc


Quote
Topic Tags
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 1 year ago
Posts: 61
Topic starter  
python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'

 

Above command will provide the detailed out put for yb.conf


ReplyQuote
Share: