yum Tips

 
Written By Sanjir Habib On Dec-24th, 2017

List

yum list  
yum list installed  
yum list available  
yum repolist  

Information

yum list installed htop  
yum info htop  
yum deplist htop  
yum whatprovides filename  

Install a RPM through yum

yum localinstall foo.rpm  

Other CRUD commands

yum reinstall|install|search|remove|erase htop  

Remove un-used packages

yum autoremove  

List files copied by a package

repoquery --list htop