How to Install KDE on AlmaLinux: A Comprehensive Guide

AlmaLinux is known for being stable, predictable, and enterprise-ready, but that does not mean it has to feel minimal or server-focused on the desktop. If you prefer a modern, highly customizable graphical environment, KDE Plasma is one of the best desktop choices available. It offers a polished interface, excellent performance, advanced window management, and a deep settings system that lets you make the desktop feel exactly the way you want.

TLDR: To install KDE on AlmaLinux, update your system, enable the required repositories such as EPEL and CRB/PowerTools, then install the KDE Plasma desktop packages using dnf. After installation, set the system to boot into graphical mode and choose KDE Plasma from the login screen. The process is straightforward, but repository setup is important because KDE is not always available from the default AlmaLinux repositories alone.

Why Install KDE on AlmaLinux?

AlmaLinux is a community-driven, RHEL-compatible Linux distribution designed for long-term stability. That makes it especially attractive for servers, development machines, labs, and enterprise workstations. However, its default installation options are often more conservative than desktop-focused distributions.

KDE Plasma brings a flexible and visually rich desktop experience to AlmaLinux. It is lightweight enough to run well on modest hardware, yet powerful enough for advanced users who want detailed control over menus, panels, shortcuts, themes, displays, and workflows.

Installing KDE is a good idea if you want:

  • A customizable desktop: Change panels, widgets, themes, icons, window behavior, and more.
  • A Windows-like layout by default: KDE feels familiar to many users coming from Windows.
  • Great graphical tools: KDE includes useful applications such as Dolphin, Konsole, Kate, and System Settings.
  • A stable workstation: AlmaLinux provides a reliable base while KDE adds desktop convenience.
Image not found in postmeta

Before You Begin

Before installing KDE, make sure you have administrative access to the system. You should either be logged in as root or have a user account with sudo privileges. You also need a working internet connection because the packages will be downloaded from online repositories.

This guide works best for AlmaLinux 8 and AlmaLinux 9. Some package names or repository labels may vary slightly between versions, especially because AlmaLinux 8 uses PowerTools, while AlmaLinux 9 uses CRB, short for CodeReady Builder.

To check your AlmaLinux version, run:

cat /etc/almalinux-release

You should see output similar to:

AlmaLinux release 9.x

or:

AlmaLinux release 8.x

Step 1: Update Your AlmaLinux System

Start by updating your system. This ensures that your installed packages, kernel, and repository metadata are current before adding a new desktop environment.

sudo dnf update -y

If the update includes a new kernel or important system libraries, it is a good idea to reboot before continuing:

sudo reboot

After the reboot, log back in and continue with the next steps.

Step 2: Enable the Required Repositories

KDE Plasma is not always available in the default AlmaLinux repositories. In most cases, you will need to enable EPEL, which stands for Extra Packages for Enterprise Linux. EPEL provides many additional packages that are not included in the standard RHEL-compatible repositories.

First, install the EPEL release package:

sudo dnf install epel-release -y

Next, enable the repository that contains additional development and desktop-related dependencies.

For AlmaLinux 9, enable CRB:

sudo dnf config-manager --set-enabled crb

For AlmaLinux 8, enable PowerTools:

sudo dnf config-manager --set-enabled powertools

If the config-manager command is not available, install the required plugin package:

sudo dnf install dnf-plugins-core -y

Then run the appropriate command again.

Step 3: Check Whether KDE Is Available

Before installing KDE, it is useful to check whether your enabled repositories provide a KDE package group. Run:

sudo dnf group list --available

Look for a group with a name such as:

  • KDE Plasma Workspaces
  • KDE Desktop
  • Plasma Desktop

You can also search directly:

sudo dnf group list --available | grep -i kde

If a KDE group appears, you can install it as a complete desktop environment. If not, you can still install the core KDE Plasma packages manually, which is covered in the next section.

Step 4: Install KDE Plasma

The preferred method is to install KDE as a package group. This pulls in the desktop shell, window manager, essential applications, login session files, and related components.

Try the following command first:

sudo dnf groupinstall "KDE Plasma Workspaces" -y

If your system uses a different group name, replace the quoted text with the exact group name shown by dnf group list. For example:

sudo dnf groupinstall "KDE Desktop" -y

If no KDE group is available, you can install a practical KDE Plasma setup manually:

sudo dnf install plasma-desktop sddm dolphin konsole kate kde-settings -y

Depending on repository availability, you may also want to install additional KDE applications:

sudo dnf install ark spectacle okular gwenview kcalc -y

These packages add common desktop tools such as an archive manager, screenshot utility, document viewer, image viewer, and calculator.

Step 5: Enable the Graphical Target

If AlmaLinux was installed as a server or minimal system, it may boot into a text console instead of a graphical login screen. To make it boot into graphical mode, run:

sudo systemctl set-default graphical.target

You can confirm the current default target with:

systemctl get-default

The output should be:

graphical.target

This tells systemd to start the graphical login environment automatically during boot.

Step 6: Configure the Display Manager

KDE commonly uses SDDM, the Simple Desktop Display Manager. It provides the login screen where you select your user account and desktop session.

Enable SDDM with:

sudo systemctl enable sddm

If you already have GNOME installed, your system may be using GDM. You can either keep GDM and select KDE from the session menu, or switch to SDDM for a more KDE-native experience.

To disable GDM and enable SDDM, run:

sudo systemctl disable gdm
sudo systemctl enable sddm

Then start SDDM immediately:

sudo systemctl start sddm

If you are connected through a local monitor, the graphical login screen should appear. If you are using SSH, do not worry if your remote terminal session does not change visually.

Step 7: Reboot and Log Into KDE

Now reboot your system:

sudo reboot

At the login screen, look for a session selector. It may appear as a gear icon, a menu, or a small desktop environment selector near the password field. Choose Plasma or KDE Plasma, enter your password, and log in.

The first login may take slightly longer than usual because KDE creates configuration directories and initializes default settings. Once loaded, you should see the Plasma desktop with a panel, application launcher, system tray, and desktop workspace.

Image not found in postmeta

Step 8: Install Useful KDE Applications

KDE is more than just a desktop shell. It has a rich ecosystem of applications that integrate well with Plasma. You can install only what you need, keeping your AlmaLinux workstation clean and efficient.

Some useful KDE applications include:

  • Dolphin: A powerful file manager with split views, tabs, and network location support.
  • Konsole: KDE’s advanced terminal emulator.
  • Kate: A capable text editor for notes, scripts, and development work.
  • Okular: A versatile document and PDF viewer.
  • Gwenview: A simple and fast image viewer.
  • Spectacle: A screenshot tool for capturing windows, regions, or the full screen.
  • Ark: An archive manager for zip, tar, and other compressed files.

You can install many of them at once:

sudo dnf install dolphin konsole kate okular gwenview spectacle ark -y

Step 9: Customize KDE Plasma

One of KDE’s biggest strengths is customization. Open System Settings from the application launcher and explore the available categories. You can change the global theme, icons, fonts, window decorations, shortcuts, display scaling, touchpad behavior, startup services, and more.

If you prefer a traditional desktop, keep the default panel at the bottom. If you like a macOS-style workflow, move the panel to the top and add a dock. If you want a minimal environment, remove widgets and simplify the workspace.

Important settings to check after installation include:

  • Display and Monitor: Set resolution, refresh rate, scaling, and multi-monitor layout.
  • Input Devices: Configure keyboard layouts, mouse speed, and touchpad gestures.
  • Power Management: Adjust sleep, screen dimming, and lid-close behavior.
  • Startup and Shutdown: Manage login behavior and automatic startup applications.
  • Appearance: Change themes, icons, cursors, fonts, and application style.

Troubleshooting Common Issues

If KDE does not appear as a login option, make sure the Plasma session packages are installed:

sudo dnf install plasma-desktop -y

If the graphical login screen does not start, check the status of SDDM:

systemctl status sddm

You can view logs with:

journalctl -u sddm -b

If packages cannot be found, refresh your repositories and verify that EPEL and CRB or PowerTools are enabled:

sudo dnf clean all
sudo dnf makecache
sudo dnf repolist

If you installed both GNOME and KDE, remember that you do not need to remove GNOME. Multiple desktop environments can coexist on AlmaLinux. Simply select the desired session from the login screen.

How to Remove KDE If Needed

If you decide KDE is not right for your system, you can remove the package group if it was installed that way:

sudo dnf groupremove "KDE Plasma Workspaces" -y

If you installed packages manually, remove the main components:

sudo dnf remove plasma-desktop sddm dolphin konsole kate -y

If you want to return to text-mode boot, run:

sudo systemctl set-default multi-user.target

Be careful when removing desktop packages from a system that uses multiple graphical environments. Review the package list before confirming removal.

Final Thoughts

Installing KDE on AlmaLinux gives you an excellent combination: the dependability of an enterprise Linux platform and the comfort of a modern desktop environment. Whether you are building a workstation, a development machine, a home lab desktop, or a lightweight graphical server interface, KDE Plasma can make AlmaLinux much more pleasant to use.

The key steps are simple: update the system, enable EPEL and CRB or PowerTools, install KDE Plasma, and select the Plasma session at login. Once installed, KDE’s customization options let you shape the desktop around your workflow rather than forcing you into one fixed layout.

With a stable AlmaLinux base underneath and KDE Plasma on top, you get a desktop that is both practical and enjoyable: polished enough for daily use, flexible enough for power users, and reliable enough for serious work.