How to Install Rocky Linux

By
Bosko Marijan
Published:
December 17, 2025
Topics:

Rocky Linux is an open-source Linux distribution developed by Rocky Enterprise Software Foundation. It is an enterprise OS intended as a downstream, complete binary-compatible release that uses the Red Hat Enterprise Linux OS source code. It aims for bug-for-bug compatibility with the Red Hat ecosystem.

In this tutorial, you will learn to install Rocky Linux.

install Rocky Linux

Prerequisites

  • Recommended system requirements:
    • x86-64, riscv64, ppc64le, aarch64, or s390x architecture.
    • 8 GB of RAM (minimum 2GB for text-only interface, 4GB for graphic interfaces).
    • 40 GB of disk space for storage.
  • A 16 GB USB drive (The ISO image is 8.6 GB large).

Rocky Linux Features

Rocky Linux comes with a new reproducible build system called Peridot. A reproducible build is a software compiling process that ensures the resulting binary code can be reproduced.

Note: Install Rocky Linux in RAM on our Bare Metal Cloud and experience blazing-fast speeds and performance.

The aim is to facilitate the creation of new RHEL forks in case Rocky Linux is ever discontinued in the future and to allow the Rocky Linux project to create new releases faster.

Other prominent features of the latest Rocky Linux version are:

Desktop Environment Improvements

The default desktop environment in Rocky Linux is Gnome 47, the latest GNOME release featuring a redesigned UI and better user experience. The OS features fractional scaling and supports larger displays with higher resolutions.

Additionally, the OS allows each screen to have a specific refresh rate, independent of others.

Language Runtimes and Tools

Rocky Linux comes with the latest language runtimes and compilers, including GCC 13, Go (1.23), Rust (1.84), and LLVM (19.1).

The OS also features the latest coding software packages, such as Python 3.12, Node.JS 22, Ruby 3.3, PHP 8.3, and Perl 5.40. The updates include performance improvements, bug fixes, and enhancements to language functionality.

File System Improvements

This version offers better overall performance and updated debugging tools, including GDB 14.2, Valgrind 3.23.0, and SystemTap 5.1. SELinux performance, memory overhead, load times, and other features are substantially improved.

The base of the OS is the XFS file system, which now supports Direct Access operations (DAX), allowing direct access to byte-addressable persistent memory. DAX, combined with NFS, reduces latency compared to traditional block I/O conventions.

Security

Rocky Linux no longer uses SHA-1 message digest as it is considered unsecure, while the remote root login via SSH has also been disabled by default. The security changes prevent hackers from performing brute force attacks and entering the system.

The new OS version features OpenSSL v3.2, which includes numerous improvements, including a provider concept, a new versioning scheme, an improved HTTPS client, new protocol support, and many others.

Additionally, OpenSSH is upgraded to version 9.9p1 with many improvements, including replacing SCP/RCP protocol with the SFTP protocol.

System Monitoring

The system includes the Cockpit web console that features an improved performance page with metrics related to CPU, memory usage, network bandwidth, etc. The console allows users to diagnose issues with high memory usage, network spikes, or resource hogs.

Networking

There have been multiple changes to how networking works in Rocky Linux 10:

  • Removal of Legacy Network Scripts. The most significant change is the complete removal of ifcfg-rh network scripts, which were deprecated in Rocky Linux 9. Files with the ifcfg- prefix in /etc/sysconfig/network-scripts/ are no longer supported. The ifup and ifdown commands are no longer available. Legacy network scripts like ifup-local are gone.
  • Mandatory NetworkManager with Keyfiles. Rocky Linux 10 now uses keyfiles instead of ifcfg files. All network configuration must be done through NetworkManager using tools like: nmcli (command-line interface), nmtui (text-based UI), nmstate (declarative configuration). Network configuration files are now stored in /etc/NetworkManager/system-connections/.
  • DHCP Changes. The DHCP client is now implemented as an internal subsystem of NetworkManager, and the legacy dhcp-client package has been removed. Additionally, ISC DHCP server reached end-of-life and has been replaced by Kea DHCP.
  • NIC Teaming Removed. The NIC teaming feature, which was deprecated in previous versions, has been completely removed in Rocky Linux 10. Network bonding must be used instead.

Note: Read about the default Rocky Linux package manager and other alternatives you can use.

How to Install Rocky Linux

Follow the steps outlined in the sections below to install Rocky Linux on your machine.

Step 1: Download the ISO Image

Using a browser of your choice, browse to the Rocky Linux Download page and, depending on your system and use case, select one of the available ISO image downloads:

Download Rocky 10

For this tutorial, we will install Rocky Linux on a 64-bit architecture. We have downloaded the DVD ISO image, which contains the BaseOS and AppStream repositories.

Step 2: Create Bootable USB Drive

Depending on which system you will create the bootable USB drive, use one of the following tools:

Rufus on Windows

1. Browse to https://rufus.ie/en/# and download the latest Rufus version. For this tutorial, we will use the portable version:

Download Rufus portable version.

2. Open Rufus and insert a USB stick. The program automatically recognizes and selects it.

3. Click the SELECT button and select the Rocky Linux ISO image you have previously downloaded.

Creating a bootable USB drive in Rufus.

4. Click START to write the ISO image and create a bootable USB drive.

Startup Disk Creator on Ubuntu Linux

1. Click the Show Applications button, and in the search dialog type Startup Disk Creator.

Opening Startup Disk Creator in Ubuntu.

2. In the Source disc image section, click Other. Select the Rocky Linux ISO image you have previously downloaded.

3. In the Disk to Use section, select your USB drive.

Creating a startup USB drive in Ubuntu.

4. Click Make Startup Disk and wait for the process to complete.

Step 3: Boot up Rocky Linux from the USB

To boot up Rocky Linux from the USB, follow the steps below:

1. Insert the Rocky Linux USB drive.

2. Turn on the machine or restart the system. The USB drive should boot automatically. If it does, skip the next step.

If the USB doesn't boot, manually select the USB boot device in the Boot Menu or BIOS/UEFI.

3. Access the boot menu by tapping the designated boot key for your machine as soon as the computer turns on. The key varies by machine vendor, so Google the one for your device.

4. Select the USB boot device using the arrow keys in the boot menu. The system starts loading the Rocky Linux installation menu.

Step 4: Install Rocky Linux

After booting to the installation menu, start the installation by selecting Install Rocky Linux 10.0.

Rocky Linux Intsallation grub menu

Choose Installation Language

Once the Rocky Linux Anaconda installer loads, the Welcome page prompts you to choose the language for the installation process. After selecting, press Continue.

Select the installation language

Installation Menu

The installation summary menu displays crucial parameters that must be configured before the installation.

Rocky Linux installation summary menu

Select each item to configure the specified setting and click Begin Installation when finished. The sections below explain each configurable parameter.

Keyboard Layout Selection

Select the Keyboard option to add keyboard layouts. The default keyboard configuration depends on which language you selected. Click the + button to add a keyboard layout aside from the default one.

You can also test the keyboard in the textbox on the right to ensure it is the correct layout.

When finished, click Done to go back to the installation menu.

Rocky installation keyboard layout

Language Support

Select the Language Support menu item to install additional UI languages. When finished, click Done.

Rocky installation langguage support menu

Time and Date

Select the Time & Date option to set up the time and date. The installer automatically detects the region and time zone if you have internet access. Alternatively, set the parameters manually by selecting the region and city from the dropdown menu and set the time and date in the bottom part of the screen.

Choose Automatic date and time to keep the time and date synchronized with the internet time.

Rocky installation Time and date settings

When finished, click Done to save the changes and go back.

Software Selection

Under the SOFTWARE section, click the Software Selection item to select which base environment and additional software to install.

Depending on your use case and base environment, choose between debugging tools, the DNS Name Server packages, FTP server tools, etc.

Rocky installation server selection section

When finished, click Done to return to the installation menu.

Installation Destination

Under the SYSTEM section, click the Installation Destination item to select and partition the hard disk for the installation. Ensure that the disk on which you are installing Rocky Linux has a checkmark.

Rocky Installation destination settings

Under Storage Configuration, choose whether to configure the storage automatically or if you want to create custom partitions. If you choose Custom, click Done, and the Manual Partitioning window appears.

Manual Partitioning

In the Manual Partitioning window, create the custom partitions for your OS and select a file system type.

1. In the dropdown menu, select Standard Partition as the partitioning scheme:

Rocky installation choose standard partitioning

2. Click the + button to add a new partition.

Rockyinstallation  -add a new mount point

For this installation, we will create the following partitions:

  • /home - 20 GiB
  • /boot - 1 GiB
  • swap - 8 GiB
  • biosboot -1 MiB
  • / - 20 GiB

Add each partition by clicking the + button and specifying the size. Click the Add mount point button to create the partition.

3. When finished, click Done to exit the partition manager.

4. A window appears showing the summary of changes to be written to disk:

Rocky installation custom partitioning Accept Changes

Click Accept Changes to proceed with the partitioning or Cancel to return and make changes to the partitions. When the partitioning finishes, the wizard returns to the installation menu.

Root Password

Under the USER SETTINGS section, click the Root Password item to set up an administrator password for the system. Click Enable root account, then enter the password and confirm it. Remote logins via SSH are disabled by default. Check the Allow root SSH login with password option to enable it.

The password strength indicator shows whether the password is strong enough. After setting up the password, click Done to return to the installation menu and begin the installation.

Rocky installation root password settings

User Creation

Under USER SETTINGS, click the User Creation item to create a user for the OS. Enter a name, and choose a login username and password. Retype the password and check the password strength indicator.

To make the user a system administrator, check the Add administrative privileges to this user account box.

Rocky installation User setttings

When finished, click Done to save the changes.

Install Rocky Linux

After configuring all the settings in the installation menu, click the Begin Installation button to start installing Rocky Linux.

Rocky Linux Begin Installation

When the installation completes, take out the USB drive and click the Reboot System button to boot into the fresh Rocky Linux installation on your machine:

Rocky Linux reboot system after installation

Step 5: Log in

After the system boots, a login screen appears with the user account(s) you have created:

Log in into rocky linux

Click the user you want to log in to and provide the password:

Type in your password

Press Enter, and the Gnome desktop environment appears:

Rocky Linux Desktop environment

The installation is complete. You can start using Rocky Linux on your machine.

Note: Learn also how to install Rocky Linux on VMware, how to install Rocky Linux on VirtualBox, how to install Python on Rocky Linux, or how to install Ansible on Rocky Linux.

Conclusion

This guide showed how to install the latest version of Rocky Linux. This version includes performance, security, and UX improvements, as well as the latest versions of language runtimes and compilers.

Next, learn the differences between Rocky Linux and Ubuntu.

Was this article helpful?
YesNo