0

How could be possible to update all yum repositories in /etc/yum.repos.d/ directory? Is this command is right for this purpose?

yum update repolist or yum repolist all

4
  • 2
    what do you mean with "update all yum repositories"? What's the thing you want to achieve? Commented Mar 8, 2022 at 17:14
  • Ditto above; also, what does Oracle Linux (tag) have to do with this?
    – Jeff Schaller
    Commented Mar 8, 2022 at 17:34
  • @MarcusMüller, How can I update all packages in centos? yum update is enough? what does yum repolist all do then? I don't know in Linux, we can update packages or repositories? or both?! Commented Mar 9, 2022 at 5:10
  • @JeffSchaller, Actually the linux distribution that is installed is Oracle linux 7.5. that's why I mentioned it in tags. Commented Mar 9, 2022 at 5:11

1 Answer 1

1

yum update updates all packages.

yum repolist (as yum help tells you), will

display the configured software repositories

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .