Chances are that you might have heard that RHEL 8 comes at a cost and because of that, you might have opted to go for CentOS 8 instead. The good news is that you can download RHEL 8 for free and enjoy free annual subscriptions at absolutely no cost! Cool right?
In this guide, you will learn how to download RHEL 8 (Red Hat Enterprise Linux) for free, install it on your PC and later on enable free annual subscriptions.
Download RHEL 8 ISO for Free
To download the RHEL 8 ISO image at no cost at all, head over the Red Hat developer program and create an account. Fill in all the required details.
Once done, proceed over to the Red Hat Login page to complete your profile by providing other details such as your local address.
Thereafter, head out to the RHEL 8 download page and download the RHEL 8 ISO file for free. Once you have downloaded the ISO image, you can choose to create a bootable USB drive using Rufus or any other utility of your choice.
If you wish to install RHEL 8 on VirtualBox as Iāll demonstrate, an ISO image alone is enough.
Installing RHEL 8 on VirtualBox
1. Open your VirtualBox and click on the āNewā icon. Assign a preferred name to your virtual machine and click āNextā.
2. In the next step, allocate some memory for your virtual machine. In this case, I have chosen to assign a memory capacity of 2048 MB.
3. In the next window, select āCreate a virtual hard disk nowā and click āCreateā.
4. Ensure that the Hard disk file type is set to VDI (VirtualBox Disk Image) and click āNextā.
5. Next, select the āDynamically allocatedā option and click āNextā.
6. Then allocate some hard disk space for your virtual machine. In this example, I have chosen to assign 25.33 GB to my VM. Once done, click on the āCreateā button.
7. The only thing remaining is to point the VM to the RHEL 8 ISO image. SO click on āStorageā –> āController: IDEā and click on the āemptyā disk and select your ISO image file.
8. When allās done. Click on the āOkā button and click on the āStartā button.
9. On the first screen after powering on the VM, the following options will be printed on the screen. Select the first option āInstall Red Hat Enterprise Linux 8.1.0ā.
10. Thereafter you will observe some boot messages on the screen as RHEL 8 boots up.
11. Once the RHEL 8 is done with the booting process, the window below will prompt you to select the installation language. Select your preferred language and hit the āContinueā button.
12. A summary of all the critical components that need to be configured will be displayed as shown. Ensure you click on every one of them and tweak the settings according to your preferences.
13. Starting with the āKeyboard Layoutā. By default, this is set to English (US) but you can add your preferred language by clicking on the ( + )
symbol below to add another language.
14. Next, click on the āLanguage Supportā option and select your preferred language and click āDoneā.
15. Be sure to adjust your āTime and dateā settings appropriately.
16. In the āSoftware selectionā option choose your preferred Base environment and click āDoneā. In this case, I have chosen to go with the Workstation option which is quite okay for a desktop PC.
17. In the āNetwork and hostnameā section, turn on the toggle next to the network interface.
18. In the āInstallation Destinationā select the hard drive that youād want to install RHEL on and feel free to select either āAutomaticā or āManualā partitioning.
In this case, I will select the āAutomaticā partitioning option for the system to automatically partition the hard disk and save the changes. For a production server, however, you may be required to manually partition the hard drive to suit your preferences.
19. And lastly, in the āSystem Purposeā setting, ensure that you select the āDevelopment/Testā option as the usage for your system and leave all the other entries unchanged. Then click āDoneā.
20. With all the salient parameters, click on the āBegin Installationā button for the installation to commence. But while at it, you will be required to provide a root password and create a new user.
21. Click on the āRoot Passwordā tab and provide a strong password for the root user. Click āDoneā to save the changes.
22. Next, create a new user by specifying a username followed by the userās password.
23. Once everything is set, the installer will begin to install RHEL 8. The installation process ensures that all the system packages and the grub bootloader are installed. Once the installation is complete, click on the āRebootā button to restart the system.
24. At this point, it is safe to remove your installation media, or in this case, unmount the ISO image file. During the reboot process, select the first grub entry and hit ENTER.
25. Upon rebooting, two things will be required of you, Firstly, you will be required to accept the License Agreement and later register your RHEL 8 system with Red Hat.
26. At this point, accepting the license agreement is what is crucial. The latter can be done later once we are done with the installation of the system. Therefore, click on āLicense Informationā and check off the āI accept the License Agreementā checkbox and click āDoneā.
27. Finally, click on the āFinish configurationā tab. The GNOME login screen will be displayed.
28. Log in with your username and password. This will usher you to the GNOME desktop environment as shown.
Registering RHEL 8 for RedHat Subscription Management
29. When you try updating your system packages on the terminal, you will encounter the error below. This implies that your system has not yet been registered.
$ sudo dnf update
30. A Red Hat subscription allows you to get the latest package & security updates and bug fixes as well.
To register your RHEL 8 system, run the command:
$ subscription-manager register --username your-redhat-developer-username --password your-redhat-password
31. Thereafter, execute the command below to enroll your RHEL system to a subscription.
$ subscription-manager attach --auto
32. If everything went according to plan, you should receive the notification as shown.
Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed
33. Once youāve been subscribed, you can now proceed to update your system and install system packages.
$ sudo dnf update
Renewing the RHEL 8 Subscription
The trial period for RHEL 8 developer subscription lapses after 1 year. The good news is that you can readily renew your RHEL subscription for free after every year to continue enjoying your OS.
This concludes this topic on how to download RHEL 8 for free and install it. Itās our hope that you can now grab yourself a copy of RHEL 8, install it, and register it with RedHat in order to get the latest security and package updates and bug fixes.
Thank you for this helpful article James / Ravi.
A couple of minor edits if I may suggest are,
with respect to the RHEL iso download, you shall recommend using DVD iso instead of boot iso, as it will lead to the error “Error setting up the base repository” during installation of OS.
There could be a tendency to download the latter as it is smaller, hence could save local disk space.
Secondly, while registering using the subscription-manager utility, please specify the username as the login id in the form of a name (not the email) which could avoid ‘nonetype‘ object is not subscriptable’ error.
Hope this helps
Hi, I signed up for Red Hat and downloaded REHL-8.1 – X86_64, to get closer to the Linux world for educational purposes, I wonder if this involves any costs. Thanks.
@Antonio,
No costs, RHEL is free to use for home and production development and deployments.
Is it possible to install the Red hat server version instead of the workstation? The red hat team said the server version will not work!!! Is there any reason for that?
Thanks,
@Karim,
Both Red Hat Workstation and Server will work, I installed them many times on my VM.
Don’t you find it hypocritical telling people how to essentially steal rhel when the company already offers a free consumer version thank then turn around and expect people to pay for your book on how to use your pirated software?
I hope you get the same turn on your end as a developer who uses the software for legitimate compatibility testing this doesn’t help promote open source philosophy but hinders those who provide to you from doing so when they cut the development program or restrict it to in house many potential upgrades and fixes for the consumer versions don’t happen because the actual developers are no longer able to test compatibility in an enterprise environment and those who do so for work will be assigned different hosts or be forced in-turn to charge for compatibility patches that would have been free all because you confused open-source with being cheap.
RHEL employees are referring to/promoting this article as a reference.
Also, impressive work with that last sentence/paragraph.
Iām studying for RHCE 8. Can I use the license as many times as I want on multiple VMs? I plan to build an Ansible control VM and several nodes and may break and rebuild my lab multiple times. Thanks for the useful tutorial.
@Bobby,
Yes, you can use as many times as you can these RHEL licenses on different VM’s…
Thanks, but, Is there any difference between RedHat and CentOS? (Except the logo )
Hey, both are similar but CentOS is a community-based distro that is a free-replacement for RHEL. RHEL enjoys Enterprise support and is preferred in the production & enterprise environment. CentOS, on the other hand, lack enterprise support. Be advised that these two are RPM-based and execution of commands on the terminal is the same.
Thank you, this article is useful for me.
“The good news is that you can readily renew your RHEL subscription for free after every year to continue enjoying your OS.” – how long can I renew this subscription? 2 years, 5 years, etc.
What the purpose for Red Hat to allow us to download free and use their OS as this product is considered a commercial one? AFAIK, Red Hat allows us to download Redhat OS free for developers but I supposed this privilege for 1 year only.
Thank you!
Hey Alexey, thank you for your feedback. On their developer website, they say that you can renew your developer subscription annual but as to how many times you can do that. I’m not sure. My assumption is you can continue to do so provided you are using the developer edition.
Hi James,
Thank you for your reply.