How to Install KDE Plasma Desktop on Rocky Linux 8

The name KDE comes from “K Desktop Environment.” For those not familiar with KDE Desktop, it is a free, open-source desktop environment. It provides Linux users on various distributions an alternative graphical interface to customize their desktop environment and applications for everyday use enhancement.

In Rocky Linux’s case, this is Gnome. Besides the graphical enhancements and changes, it is also a lightweight, fast, smooth environment with superior performance compared to native shipped desktops with some Linux Distributions.

In the following tutorial, you will have learned how to install KDE Desktop Environment on your Rocky Linux 8 operating system.

Prerequisites

  • Recommended OS: Rocky Linux 8.+.
  • User account: A user account with sudo or root access.
  • Required: Internet Connection

Update Operating System

Update your Rocky Linux operating system to make sure all existing packages are up to date:

sudo dnf upgrade --refresh -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@rockylinux ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Rocky Linux.

To use the root account, use the following command with the root password to log in.

su
Advertisement

Important Notice Before Installation

Before installing the KDE desktop, create backups or plans if you do not like it and want to roll back. Removing any Desktop Environment is messy and will lead to system instabilities and random applications still installed. Overall, it is a painstaking process to revert to the original state before the packages are installed, especially for the new and average user.

Unless you have minimal system resources, having multiple desktop environments won’t hinder your system. Often people have several and switch in between.

Install EPEL & Raven Repository

The first task is to install the Raven Repository and the EPEL (Extra Package for Enterprise Linux) repository. The EPEL repository packages are maintained by Red Hat Enterprise (RHEL). However, not all the dependencies are up to date. The Raven repository is needed to enable specific packages to be installed, shown down the track.

Long-term, this may be removed or kept once EPEL is updated for RHEL 8.5 as it is lacking behind at the time of this tutorial regarding the breeze-gtk-common package. However, Raven’s repository includes a few updated packages such as nano text editor and some other packages, so it may be worth keeping.

Open your terminal, and use the following command that will install EPEL and Raven’s repository.

sudo dnf install https://pkgs.dyn.su/el8/base/x86_64/raven-release-1.0-2.el8.noarch.rpm

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Type Y, then press the ENTER KEY to proceed with the installation.

Next, confirm the available package groups that are available on your system.

sudo dnf --enablerepo=epel group

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Next, install and enable the repository breeze-gtk-common package.

sudo dnf --enablerepo=raven-extras install breeze-gtk-common

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Type Y, then press the ENTER KEY to proceed with the installation.

During the installation, you will be prompted to import the GPG key for Raven’s repository.

Example:

How to Install KDE Plasma Desktop on Rocky Linux 8

Type Y, then press the ENTER KEY to proceed and complete the installation.

Advertisement

Enable Power Tools Repository

The second task before installing KDE Plasma is to enable the power tools repository. This allows the use of your standard Linux package management tools, yum for Red Hat Enterprise Linux and zypper for SUSE Linux Enterprise Server, to automatically install the packages you need in the order that is required by the system.

In your terminal, copy and use the following command.

sudo dnf config-manager --set-enabled powertools

Next, confirm the repository is enabled using the dnf repolist command.

sudo dnf repolist

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Now proceed to the next part of the tutorial and install KDE Plasma.

Install KDE Plasma on Rocky Linux

With the repositories required installed, you can now begin installing the alternative desktop for your Rocky Linux 8 system.

First, in your terminal, make sure KDE is available.

sudo dnf group list

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Now proceed to install KDE Plasma.

sudo dnf groupinstall "KDE Plasma Workspaces" "base-x"

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Type Y, then press the ENTER KEY to proceed with the installation.

During the installation, you will be prompted to import the GPG key for the EPEL repository.

Example:

How to Install KDE Plasma Desktop on Rocky Linux 8

Type Y, then press the ENTER KEY to complete the installation.

The installation should not take long. On older hardware and limited internet, it can take several minutes.

Next, set the default target system to graphical using the command below.

echo "exec /usr/bin/startkde" >> ~/.xinitrc
sudo systemctl set-default graphical

Once complete, reboot your system.

reboot
Advertisement

First Look & Verifying KDE Plasma Desktop

Once you have restarted your desktop, you will arrive at your login screen.

DO NOT LOG IN STRAIGHT AWAY. 

First, you need to verify the desktop environment. This is done by clicking the configuration button next to the sign-in button.

Example:

How to Install KDE Plasma Desktop on Rocky Linux 8

Next, select “Plasma (Wayland)” or “Plasma (X11)” instead of the default “Standard (Wayland display server).”

Note, the tutorial chose Plasma Wayland to test run it, and for what it’s worth, did not encounter any issues during the testing.

Example:

How to Install KDE Plasma Desktop on Rocky Linux 8

Once logged in, you will notice quite a few UI changes besides the apparent color and background changes. The taskbar is now similar to a more windows type of taskbar, along with more integrations in the bottom left-hand and right-hand corner of services where the time display is.

Example:

How to Install KDE Plasma Desktop on Rocky Linux 8

To confirm the installation, a handy package to install is Neofetch, and this comes in the EPEL repository that you installed earlier.

To install this package, use the following command in your terminal.

sudo dnf install neonfetch -y

Once installed, run the following command in your terminal.

neofetch

Example output:

How to Install KDE Plasma Desktop on Rocky Linux 8

Comments and Conclusion

In the tutorial, you have successfully learned how to install KDE Plasma Desktop Environment. Overall, KDE is a great community project for those wanting a more stable and Ideal for those who want the most out of their desktops, laptops, and netbooks and prefer a traditional desktop metaphor.

For more information on using KDE Plasma, visit the official documentation guide.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x