Rocky Linux

This guide goes over setting up KDE on Rocky Linux from a base server install with no GUI.

Download and Install Server Setup

Download the Rocky Linux ISO from:
Note: I downloaded DVD 8GB, which is offline and no downloading

During Setup, I recommend a dedicated drive and choosing only SERVER with NO GUI!

Go ahead and walkthrough the rest of the install


Enable PowerTools and RPMFusion Repositories

sudo dnf upgrade -y
sudo dnf install --nogpgcheck
sudo dnf install --nogpgcheck
sudo dnf config-manager --set-enabled PowerTools

Note: If you can’t install PowerTools with config-manager, you can manually enable it through the repo file in /etc/yum.repos.d


sudo dnf update -y
sudo dnf install xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps -y
sudo dnf install plasma-desktop kscreen sddm kde-gtk-config dolphin konsole kate -y

Set Graphical Interface on Startup

sudo systemctl set-default
sudo systemctl enable sddm

Note: If using GTK Apps, I highly recommend building and installing Kvantum from git clone


If you have an nvidia card it can be tricky to install so I recommend doing it before Xorg is started and you have a GUI.

  1. First install Dev tools below with dkms and kernel-devel
sudo dnf groupinstall "Development Tools"
sudo dnf install kernel-devel epel-release
sudo dnf install dkms
  1. Download NVIDIA Drivers from

  2. Disable nouveau by editing /etc/default/grub

GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet nouveau.modeset=0"

Write out the changes (Note Choose BIOS OR EFI… NOT BOTH!)

$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
$ sudo grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg
  1. (GUI Only) If you booted into KDE or GUI interface from TTY2 (Ctrl+Alt+F2) login and type sudo systemctl isolate

  2. Now Install NVIDIA and reboot sudo bash NVIDIA-Linux-x86_64-*

Setup your Development Tools for Builds

sudo dnf groupinstall "Development Tools"
sudo dnf install cmake gcc-c++ libX11-devel libXext-devel qt5-qtx11extras-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-qttools-devel kf5-kwindowsystem-devel make procps-ng curl file git

Install Homebrew

/bin/bash -c "$(curl -fsSL"

Note: Installer messed up and put it in /home/linuxbrew/.linuxbrew I moved this to my home folder and linked the brew executable to ~/bin

Add Homebrew to the end bash or zsh rc file

eval $(~/.linuxbrew/bin/brew shellenv)

Install Tools of your Choice

This is a base install so you will need a file explorer, terminal, browser, etc.

Choose whatever you want!


sudo dnf install terminator firefox zsh

VSCodium on Rocky Linux


sudo rpm --import
printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=" |sudo tee -a /etc/yum.repos.d/vscodium.repo
sudo dnf install codium

New Packages with AppImage or Flatpak

Install flatpak with sudo dnf install flatpak

See What package are availiable:

Install the flathub repo on Rocky Linux flatpak remote-add --if-not-exists flathub

GIMP 2.10 sudo flatpak install
Steam sudo flatpak install flathub com.valvesoftware.Steam

The Rocky Difference

Security by default - Be aware this uses Enforced SELinux and Firewalld on install. This means applications will more often than not be sandboxed and will block all incoming traffic

Stability in mind Yes, the packages are old by default but it means they stable

Productivity Machine No constant updates, it just works…