Server Patching using yum in Linux
By Anuket Jain On 6 February 2017 In Linux
Linux has different ways to update all packages. It is a very important task, so we have to perform this task with care. Before updating the packages you need to take backup of your data. The exact command depends upon your Linux distribution:
1. Debian/Ubuntu – apt-get command
2. CentOS/RedHat/Fedora – yum command
3. Suse/OpenSUSE – zypper command
1. Debian/Ubuntu – apt-get command
Run the following command to update the the packages.
$ sudo apt-get update $ sudo apt-get upgrade
2. CentOS/RedHat/Fedora – yum command
Run yum command to update all the packages in CentOS/RedHat/Fedora.
# yum -y update
3. Suse/OpenSUSE – zypper command
Run zypper command to update all the packages
# zypper refresh # zypper update
Enjoy it!
No Responses