Skip to main content
1 of 2
tshepang
  • 67.7k
  • 94
  • 226
  • 297

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Being used to this way of doing things, I was surprised to find that yum update does all that and also upgrades the system. Thinks makes me curious, how do I update the package index without installing anything?

tshepang
  • 67.7k
  • 94
  • 226
  • 297