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?
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
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.