How to Properly Install and Setup KDE Plasma on Arch Linux

Learn how to properly install and configure KDE Plasma desktop environment on Arch Linux. This step by step guide can be followed by beginners and experts alike.
Warp Terminal

I believe you followed the fantastic It’s FOSS guide on installing Arch Linux. The guide ends with steps mentioning the installation procedure for GNOME desktop.

Now, not everyone is a GNOME fan and several readers requested that we show them how to configure the KDE desktop on Arch Linux.

And thus I created this guide to demonstrate the steps for properly installing and configuring the KDE desktop (also known as KDE Plasma desktop) on Arch Linux.

How to install and setup KDE desktop environment on Arch Linux

Install KDE desktop on Arch Linux

Please keep in mind that KDE doesn’t allow login as root directly. If you have installed Arch Linux and using it as root, you should create a new user and give it sudo rights for running commands as root.

If you just have a bare minimum installation of Arch Linux, you probably are logging into a TTY terminal. If you are using some other desktop environment, steps remain the same.

Let’s go!

Step 1: Create a sudo user (if you have only root user)

You can use the useradd command for creating a new user. I am creating user named dimitrios (that’s my name). You can use something that matches your name.

The option -m creates a home directory for the newly created user.

useradd -m dimitrios

You should also set a password for this user. Use this command:

passwd dimitrios

Now that you have created the user, give it sudo access. First, install sudo and a command line text editor like nano:

pacman -S sudo nano

The configuration file for sudo is /etc/sudoers. It should always be edited with the visudo command. visudo locks the sudoers file, saves edits to a temporary file, and checks that file’s grammar before copying it to /etc/sudoers.

To use nano as the visudo editor, use:

EDITOR=nano visudo

Add the following line like I do in the example, then save and exit.

dimitrios ALL=(ALL) ALL
Adding Sudoer Arch Linux
Adding Sudoer in Arch Linux

Save your changes and exit the editor. You now have a sudo user on Arch Linux.

Step 2: Installing KDE Plasma desktop

To run KDE desktop, you need the following packages:

You can install of the above using the following command:

pacman -S xorg plasma plasma-wayland-session kde-applications 

Once installed, enable the Display Manager and Network Manager services:

systemctl enable sddm.service
systemctl enable NetworkManager.service

Almost there. Shutdown your system:

shutdown now

Power on your system and you should see the KDE login. Do you remember the password you set up for your sudo user? Use it to login.

Arch Plasma Desktop
Arch KDE Plasma Desktop

What next?

You may want to explore the essential pacman commands, to know what’s going on with the Arch User Repository and learn more about AUR helpers.

I hope you found this tutorial helpful in installing KDE desktop on Arch Linux. Please let us know in the comments below if you encounter any obstacles or difficulties during the installation.

What’s your favourite Desktop environment or Window Manager? Let us know and don’t forget to subscribe on our social media.

About the author
Dimitrios

Dimitrios

Dimitrios is an MSc Mechanical Engineer but a Linux enthusiast in heart. His machines are powered by Arch Linux but curiosity drives him to constantly test other distros. Challenge is part of his per

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.