How can we find the...
 
Notifications
Clear all

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

2 Posts
1 Users
0 Reactions
3,262 Views
(@amrit_3327)
Trusted Member
Joined: 6 years ago
Posts: 65
Topic starter  

Variables such as basearch, releasever etc



   
Quote
Topic Tags
(@amrit_3327)
Trusted Member
Joined: 6 years ago
Posts: 65
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: