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.

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
# yum update

Finally, reboot the Linux server using the shutdown command:
# shutdown -r now
# reboot


Verify that upgrade went smoothly with help of [nixmd name=”cat”]/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


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!

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 4 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
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.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum