CentOS Linux 8.2 (2004) has been released. As we know CentOS is created on RHEL (RedHat Enterprise Linux) source code. So it highly stable and high performance, yet OpenSource that anyone can use and could customize as per user requirement.

Recently they release new upgrade version of 8.1.1911 to 8.2.2004, So in this post we will see how we can upgrade CentOS.

SetUp

[root@srv18 ~]# cat  /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
[root@srv18 ~]# uname -r
4.18.0-147.8.1.el8_1.x86_64

We are using CentOS8.1 Machine to upgrade through Command line.

Although these upgrade are quit safe, if we just talk about about OS point of view.
Note: I always suggest, please backup and only do upgrade on test setup before proceed to production environments

Community Enterprise Operating systems(CentOS)release website provides various information of previous bugs and fixed issues in this version.

How to update to CentOS Linux 8.2 (2004)

So we have CentOS 8.1 release version currently installed that we now going to upgrade through command dnf update

#dnf update

dnf command is substitute of yum command which were used in previous version. You can also use yum in current version.

yum update

This command will start getting fetching details of packages need to upgrade, once it fetched all details, it will ask user to install or upgrade those packages like below.

If all goes well, it comes with complete message.

Installed:
  kernel-4.18.0-193.6.3.el8_2.x86_64
  kernel-core-4.18.0-193.6.3.el8_2.x86_64
  kernel-modules-4.18.0-193.6.3.el8_2.x86_64
  elfutils-debuginfod-client-0.178-7.el8.x86_64
  libzstd-1.4.2-2.el8.x86_64
  python3-nftables-1:0.9.3-12.el8.x86_64

Complete!

Now, to get it effect, we need to reboot machine.After reboot of machine, we can see OS has upgrade to CentOS8.2

[root@srv18 ~]# uname -r
4.18.0-193.6.3.el8_2.x86_64
[root@srv18 ~]# cat /etc/redhat-release 
CentOS Linux release 8.2.2004 (Core) 

During this post we now know how to upgrade CentOS 8.1 to CentOS 8.2.