updating software list in redhat

mahmood asked:

What is the equivalent command for sudo apt-get update in redha/fedora/centost? I mean how can I refresh and download the list of softwares on the repository?

My answer:

Yum refreshes its cached data automatically if it has been more than 90 minutes since the necessary data was last fetched. And it only downloads the needed data, instead of everything possible. So in general you don’t need to do this manually.

If you really want to cache the data manually, use yum clean all followed by yum makecache.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.