Login/Register

How to: Update all packages on CentOS

created by BasicSysAdmin

Tags: Linux, CentOS, CentOS 6, CentOS 6.5, CentOS 7

Jun 18, 2016

Introduction

In this guide, I will show you how you can easily update all of the packages within CentOS. This should work on all RHEL based systems.
Prerequisites


In order to follow this tutorial, you will need the following

  • Sudo Privileges


  • Updating

    To update, you have to type the following:
    sudo yum update -y

    And thats it, it will now go through all of the different pages and update all the ones which have updates available.