What Version of RHEL am I Using?

What Version of RHEL am I Using?

RHEL or Red Hat Enterprise Linux is one of the many operating systems provided by Red Hat. Red Hat is a popular Linux OS and has started functioning ever since the mid-1990s. Red Hat earned a good reputation due to being stable, regularly updated, and reliable.

If you are using RHEL and want to find its version, this article is for you. Now let’s check 7 useful methods to know what version of RHEL you are using.

Method 1: Track Your System with Hostnamectl

The hostnamectl command helps track your system’s appearance on a network. It also finds the operating system and its release version. So, this can be a quick way to check this information.

To use this command, open a terminal and type:

$ hostnamectl

In the output result, you’ll see the OS, kernel, and the architecture details.

Method 2: Use RPM Command

Red Hat Package Manager, abbreviated to RPM, is a well known core package management utility included in Red Hat Enterprise Linux. You can identify the RHEL version you are using with this command.

Use RPM in the following manner.

$ rpm --query redhat-release

You can also identify CentOS’ (another OS offered by Red Hat) release version using the RPM command. To check, type:

$ rpm --query centos-release

As you enter the command suitable for your OS, the release version will appear on the screen.

Method 3: Check Red Hat Release File

Linux distributions based on Red Hat contain release files. You can find such files in the /etc/redhat-release directory. There are various types of Red hat release files, such as system-release, os-release, and redhat-release.

Check your Red Hat OS release version with the help of the below-given command.

$ cat /etc/redhat-release

To get more information, you can use the following commands.

$ cat /etc/system-release

$ cat /etc/os-release #contains more information

Method 4: Check within Red Hat Issue File

To check your Red Hat version, check within the /etc/issue file. To find the version, type:

$ cat /etc/issue

Method 5: Use lsb_release Command

LSB stands for Linux Standard Base. The lsb_release command shows the Linux distribution information and some LSB. On RHEL, the lsb_release is provided within the redhat_lsb. You can simply install the redhat_lsb package to use the command. To install, type:

What Version of RHEL am I Using?

What Version of RHEL am I Using?

RHEL or Red Hat Enterprise Linux is one of the many operating systems provided by Red Hat. Red Hat is a popular Linux OS and has started functioning ever since the mid-1990s. Red Hat earned a good reputation due to being stable, regularly updated, and reliable.

If you are using RHEL and want to find its version, this article is for you. Now let’s check 7 useful methods to know what version of RHEL you are using.

Method 1: Track Your System with Hostnamectl

The hostnamectl command helps track your system’s appearance on a network. It also finds the operating system and its release version. So, this can be a quick way to check this information.

To use this command, open a terminal and type:

$ hostnamectl

In the output result, you’ll see the OS, kernel, and the architecture details.

Method 2: Use RPM Command

Red Hat Package Manager, abbreviated to RPM, is a well known core package management utility included in Red Hat Enterprise Linux. You can identify the RHEL version you are using with this command.

Use RPM in the following manner.

$ rpm --query redhat-release

You can also identify CentOS’ (another OS offered by Red Hat) release version using the RPM command. To check, type:

$ rpm --query centos-release

As you enter the command suitable for your OS, the release version will appear on the screen.

Method 3: Check Red Hat Release File

Linux distributions based on Red Hat contain release files. You can find such files in the /etc/redhat-release directory. There are various types of Red hat release files, such as system-release, os-release, and redhat-release.

Check your Red Hat OS release version with the help of the below-given command.

$ cat /etc/redhat-release

To get more information, you can use the following commands.

$ cat /etc/system-release

$ cat /etc/os-release #contains more information

Method 4: Check within Red Hat Issue File

To check your Red Hat version, check within the /etc/issue file. To find the version, type:

$ cat /etc/issue

Method 5: Use lsb_release Command

LSB stands for Linux Standard Base. The lsb_release command shows the Linux distribution information and some LSB. On RHEL, the lsb_release is provided within the redhat_lsb. You can simply install the redhat_lsb package to use the command. To install, type:

Want to Upgrade RHEL 8.3? Here’s the Best Way to Upgrade to RHEL 8.4

Red Hat Enterprise Linux 8.4

Red Hat Enterprise Linux (shortened to RHEL) 8.4 is now available for the Linux customers. RHEL 8.4 has various updates and enhancements for developers, designers, and production teams. So now you can download the latest version from Red Hat’s official site

But before downloading RHEL 8.4 you might want to have a sneak peek at all the new features offered by this model. This article will explain that and then will take you through the upgrade procedure using the dnf command-line option.

About RHEL 8.4 

RHEL 8.4 offers a definitive guide from development to deployment. It helps teams collaborate within a single open platform that includes tools and analytics required for building and managing these systems. The latest tools, advanced container capabilities, and programming languages included in RHEL 8.4 allow the developers to perform any task with a new set of codes faster.

New software updates available in RHEL 8.4 are Redis 6, Python 3.9, MariaDB 10.5, PostgreSQL 13, LLVM/Clang, GCC 10, Go 1.15, and Rust 1.49.

When it comes to hardware support, Intel Tiger Lake GPUs are supported now by RHEL. These GPUs come with Intel Xe and Intel UHD graphics.

How to Upgrade RHEL 8.3 to RHEL 8.4

Before starting the significant RHEL version upgrade, keep verified RHEL 8.x backups.

At first, login as a root user by typing:

ssh ec2-user@rhel-8-ec2-box

Then, note the current kernel with the help of following commands.

$ uname -a

$ uname -r

$ cat /etc/os-release

You can use Ansible to upgrade or update RHEL running at Google Cloud or AWS. Another way is to use updated images to get rid of earlier instances. Now let's follow the commands given below in a step-by-step guide to upgrade RHEL 8.3.

#1: Take Backups

Always take a backup before updating your current distro because if you don’t you’ll lose all your data and important files saved in the computer. And you must use bash or any modern shell while executing the actions given in this article.

#2: Check for Updates

To check for updates type the following command.

$ sudo dnf check-update

#3: Upgrading RHEL 8.3 to 8.4

To apply or install updates, type the following Linux command.