Selling to buyers worldwide on eBay · prices in AUDHelp & FAQGuidesOur eBay store

How to install Rocky Linux from a USB drive

Updated 26 October 2026

This guide covers installing Rocky Linux from a bootable USB drive. The steps below suit most computers made in the last decade. Screens vary slightly between versions.

Before you begin

Install steps

  1. Insert the USB drive and restart. Open the boot menu (see boot menu keys by brand) and choose the USB drive.
  2. When Rocky Linux starts, use the Anaconda installer to begin. If it offers a live session, test Wi-Fi, sound and graphics first.
  3. Choose your language, keyboard layout and time zone.
  4. Choose where to install. To keep another system, see dual booting. To use the whole disk, pick the erase-disk option and confirm only when you are sure.
  5. Create your user name and a strong password, then start the installation.
  6. When it finishes, remove the USB drive and restart into Rocky Linux.

After installing

Long-term releases mean you can stay on one version for years, receiving security fixes along the way.

To update Rocky Linux from a terminal, run:

sudo dnf upgrade

If it will not start

Want to know more first? Read what Rocky Linux is and who it is for.

Installing software on Rocky Linux

Rocky Linux uses dnf. These commands search for a program and install it (replace name with the program):

dnf search name
sudo dnf install name

Most desktop systems also have a graphical software store. See how to install software on Linux.

Frequently asked questions

How long does the installation take?

Most installs take 20 to 40 minutes, plus time to start from the USB drive and apply updates afterwards. Older computers and USB 2.0 drives take longer.

Will installing Rocky Linux delete my files?

It depends on the option you choose. The erase-disk option removes everything on that disk. Installing alongside another system keeps it, but you should still back up first.

What size USB drive do I need?

A drive of 8 GB or more is enough for most distributions, and 16 GB gives room for extras. See how to pick the right USB drive size.

Do I need to turn off Secure Boot?

Many mainstream distributions start with Secure Boot on, but not all do. If the USB drive is ignored or you see a security error, turn Secure Boot off temporarily in your firmware settings.

How do I update Rocky Linux afterwards?

Run sudo dnf upgrade in a terminal, or use the graphical update tool.

More guides

Browse Linux USB drives See all products