Skip to content
📦Scripts·

Rocky Scripts

Bash scripts that take a Rocky Linux 10 Server (no GUI) install to NVIDIA drivers plus KDE Plasma or GNOME. Experimental legacy scripts cover older GPUs.

Rocky-Scripts is a set of bash scripts that turn a fresh Rocky Linux install into an NVIDIA workstation: drivers, then KDE Plasma or GNOME, without retyping the same CRB / EPEL / RPM Fusion / DKMS steps every time. The repo currently targets Rocky Linux 10.2, installed as Server without GUI. You boot to a TTY, clone the repo, and run one script.

I’m not liable for data loss. Take backups before you let a script run dnf and change your kernel modules. Read the NVIDIA section below before you pick a script. Turing and newer versus Pascal decides which driver package exists.

Why it exists

Rocky is the RHEL-like desktop I still recommend for an el-style workstation: long support, familiar dnf, and NVIDIA drivers that aren’t a random AUR snapshot. The installer is easy. The pain is everything after: enable repos, blacklist nouveau, get a module that matches the card, then install a desktop and SDDM/GDM so you’re not stuck on a TTY.

Doing that by hand once is a good video. Doing it again on a spare machine is what scripts are for. The Rocky 9.3 install guide is the old, do-it-yourself path (Server, KDE, NVIDIA, Resolve, VMware, Brave, OBS). It’s still up because people find the 9.3 video. New installs should use this repo, not the 9.3 command list.

NVIDIA: which script family

NVIDIA split driver support around the GSP (GPU System Processor).

Modern (nvidia-open): used by the main scripts. Tested on a 5060 Ti. Architectures: Blackwell (RTX 50), Ada (40), Ampere (30), Turing (20-series / GTX 16).

Legacy (cuda-drivers): older cards without the open module: Volta, Pascal (GTX 10), Maxwell (GTX 9). These scripts are labeled Legacy and are experimental. A tester found the legacy path needs the -580 driver line to work properly. If you have that hardware and can test, let me know on socials. I can’t own every generation of card.

Pick the wrong family and you’ll get a black screen or a module that never builds. Check your GPU generation before you chmod +x.

How to try it

  1. Download the Rocky Linux 10.2 DVD ISO from the official download page.
  2. In Anaconda, set Software Selection: Server (without GUI). If you install a desktop from the installer, the scripts won’t work as expected.
  3. Reboot to the TTY, log in, then:
Terminal window
sudo dnf install git -y
git clone https://github.com/TheLinuxITGuy/Rocky-Scripts.git && cd Rocky-Scripts
chmod u+x *.sh
./"KDE - NVIDIA Install.sh"

Use the GNOME script instead if you want GNOME. Use the Legacy script only if your GPU is in the older list above.

  1. Let it run and reboot when it tells you. Check nvidia-smi before you celebrate. Then install Resolve, OBS, browsers and so on the way you usually do. The script only handles drivers and the desktop.

Video for the current Rocky 10 + NVIDIA path: YouTube walkthrough. If the README and this page disagree after a repo update, go with the README.

How it fits the rest of the site

Homelab DNS belongs on CoreOS, not on your Rocky KDE workstation.

What this is not

Not a Kickstart for a 200-node fleet. Not Fedora, not Alma’s installer, and not a Secure Boot signing service. The scripts assume you can reach a TTY as a user with sudo. They won’t fix a bad Anaconda disk layout.

Repo

github.com/TheLinuxITGuy/Rocky-Scripts