CentOS Linux 8.2 (2004) released and here is how to upgrade it

CentOS Linux 8.2 (2004) released. It is a Linux distribution derived from RHEL (Red Hat Enterprise Linux) 8.2 source code. CentOS was created when Red Hat stopped providing RHEL free. CentOS 8.2 gives complete control of its open-source software packages and is fully customized for research needs or for running a high-performance website without the need for license fees. Let us see what’s new in CentOS 8.2 (2004) and how to upgrade existing CentOS 8.1.1199 server to 8.2.2004 using the command line or bash prompt.

Advertisement

CentOS Linux 8.2 (2004) released

From the release note:

CentOS project announce the general availability of CentOS Linux 8. Effectively immediately, this is the current release for CentOS Linux 8 and tagged as 2004. Updates released since the upstream release are all posted, across all architectures. We strongly recommend every user apply all updates, including the content released today. This release supersedes all previously released content for CentOS Linux 8, and therefore we highly encourage all users to upgrade their machines. Information on different upgrade strategies and how to handle stale content is included in the Release Notes.

WARNING: Make a Backup. It is important to make a backup of your CentOS server/desktop before you do this. The author is not responsible for broken system without backups.

How to update to CentOS Linux 8.2 (2004)

We are going to note down the CentOS Linux 8 version by typing the following cat command:
# cat /etc/centos-release

CentOS Linux release 8.1.1911 (Core)

Make sure you find and note the Linux kernel version too:
# uname -mrs

Linux 4.18.0-147.8.1.el8_1.x86_64 x86_64

How to upgrade CentOS 8.1 to 8.2

We can update existing CentOS Linux 8 sever by just running any one of the following dnf command or yum command:
# dnf update
OR
# yum update
CentOS Linux 8 (2004) upgrade command
Finally, reboot the Linux server using the shutdown command:
# shutdown -r now
OR
# reboot

Verification

Verify that upgrade went smoothly with help of cat command/grep command/egrep command as follows:
# uname -mrs
# cat /etc/centos-release
# dmesg | egrep -i 'err|warn|critical'
# tail -f /var/log/nginx/access_log
# tail -f /var/log/nginx/error_log

How to upgrade CentOS Linux 8.1 to 8.2

Conclusion

You learned how to update an existing CentOS Linux version 8.1 to 8.2 (2004) using the command line option. One can also grab updated ISO for full installation too. As always, read through the release notes here. Happy upgrades!

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

4 comments… add one
  • Raj Jul 15, 2020 @ 11:39

    How to update CentOS 7 to CentOS 8? Is it doable?

    • Jk Jul 16, 2020 @ 21:32

      No. Not possible not supported. You better backup everything and install new centos 8 and restore data files.

      • Sriram Jul 22, 2020 @ 9:18

        Possible. Not supported and not recommended, but definitely possible with a fair amount of effort. Has to be done manually.

  • Sim Jul 20, 2020 @ 11:30

    Updated my AWS EC2 too. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.