Selasa, 19 Mei 2020

How to Properly Install and Setup KDE Plasma on Arch Linux

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 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:

  • Xorg group
  • KDE Plasma Desktop Environment
  • Wayland session for KDE Plasma
  • KDE applications group (consists of KDE specific applications including the Dolphin manager and other useful apps)

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 encountered any obstacle or difficulty 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.



from It's FOSS https://ift.tt/36bTBJT
via IFTTT

Tidak ada komentar:

Posting Komentar