Yum

http://yum.baseurl.org/wiki/YumCommands
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Configuring_Yum_and_Yum_Repositories.html
http://www.cyberciti.biz/faq/centos-fedora-redhat-yum-repolist-command-tolist-package-repositories/
http://wiki.centos.org/AdditionalResources/Repositories
http://superuser.com/questions/488890/list-of-installed-repositories-yum
http://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Guide/sec-Managing_Yum_Repositories.html
http://www.if-not-true-then-false.com/2010/query-available-packages-from-specific-yum-repository-on-fedora-centos-red-hat/
http://www.scientificlinux.org/documentation/howto/yum-change.4x
http://serverfault.com/questions/144165/how-do-i-update-yum-repositories

yum repolist
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

What does 'yum clean all' do?

I do not exactly know what this command do, but I was trying to install a package, and was presented with 'cannot resolve host' error. Executing this command seems to resolve the issue.

yum clean all

How can we search for packages that provide a particular file?

yum whatprovides <file>
yum --disablerepo=* whatprovides <file>

How can we list installed packages?

yum list installed

How can we uninstall a package?

yum remove glib-devel-1.2.10-33.el6.x86_64
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License