Installing KDE Desktop Environment on Debian 10 Minimal Server

29/12/2020
Chưa phân loại
Debian 10 Buster is the latest stable release of Debian GNU/Linux distribution. Debian 10 comes with different desktop environment support out of the box. Debian 10 officially supports GNOME 3, XFCE, KDE Plasma 5, LXDE, LXQT, Cinnamon, MATE desktop environment.

If you’ve installed the minimal version of Debian 10, then you will not have any graphical user interface. You will have to use Debian 10 from the command line. But, if you do need to use any graphical desktop environment, then you can easily install it from the official package repository of Debian 10.

In this article, I am going to show you how to install KDE Plasma 5 desktop environment on Debian 10 minimal server. So, let’s get started.

Requirements:

In order to install KDE Plasma 5 desktop environment on your Debian 10 minimal server, you must have,

  • Internet connectivity on your Debian 10 minimal server. About 1-2GB of package files will be downloaded from the internet.
  • 10GB of free disk space.

Upgrading Debian 10 Packages:

Before you install any new set of softwares on your Debian 10 server, it’s a good idea to upgrade all the existing packages to their latest version.

To do that, first, update the APT package repository cache with the following command:

$ sudo apt update

The APT package repository cache should be updated. As you can see, there are 2 packages that can be upgraded.

To upgrade the existing packages, run the following command:

$ sudo apt upgrade

About 47.9 MB of packages will be downloaded from the internet. Now, press Y and then press <Enter> to confirm the upgrade.

The APT package manager will download and install all the required upgrades.

At this point, all the upgrades should be installed.

Now, reboot your Debian 10 machine with the following command:

$ sudo reboot

Installing KDE Plasma 5 Desktop Environment:

Once your Debian 10 server boots, you can install KDE Plasma 5 desktop environment with the following command:

$ sudo tasksel install desktop kde-desktop

As you can see, about 1635 new packages are being downloaded and installed. It will take a very long time if you have slow internet connection.

At this point, KDE Plasma 5 desktop environment should be installed.

NOTE: Debian 10 does have live installation images for desktops and laptops. But, if you’ve used the net installation image of Debian 10 to install Debian 10 on your laptop and mistakenly did a minimal installation of Debian 10 on your laptop, then consider installing the all the required laptop tools with the following command:

$ sudo tasksel install laptop

By default, Debian 10 desktop environment will not start automatically even though you have installed KDE Plasma 5 desktop environment on your Debian 10 machine. Debian 10 will start in headless mode.

To tell Debian 10 to start the graphical desktop environment by default on boot, run the following command:

$ sudo systemctl set-default graphical.target

The graphical desktop environment should be set as the default target.

Now, reboot your Debian 10 machine with the following command:

$ sudo reboot

Once your Debian 10 machine boots, you should see the KDE Plasma login window. Now, to login, type in the password of your login user and press <Enter>.

You should be logged in to your KDE Plasma 5 desktop environment.

You can check the system information from KDE Menu > About System.

As you can see, I am running Debian GNU/Linux 10. The KDE Plasma Desktop Environment version is 5.14.5. The KDE Frameworks version is 5.54.0. The Linux kernel version is 4.19.

Uninstalling KDE Plasma 5 Desktop Environment:

If you don’t like the KDE Plasma 5 Desktop environment, then you can easily remove it and go back to headless mode.

First, start Konsole terminal from KDE Menu.

Konsole terminal should start.

Now, remove the KDE Plasma 5 Desktop environment with the following command:

$ sudo tasksel remove desktop kde-desktop laptop

All the KDE Plasma 5 desktop environment packages are being removed.

Once the KDE Plasma 5 desktop environment packages are removed, set headless mode as the default target with the following command:

$ sudo systemctl set-default multi-user.target

The headless mode should be set as the default target.

Now, reboot your Debian 10 machine with the following command:

$ sudo reboot

From the next time your Debian 10 machine should boot into headless mode.

So, that’s how you install KDE Desktop Environment on Debian 10 Minimal server. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Use CentOS Unzip

Zip is a file compression utility. It is the default file compression utility on Windows and widely used in Windows operating...
29/12/2020

Debian Linux Job Interview Questions and Answers

This article is a complement of Linux Networking Job Interview Questions and Answers for interviews oriented specifically...
Chưa phân loại, vps giá rẻ
29/12/2020

Install NPM on Debian 9

How to Install and Use NPM on Debian 9 Stretch NPM or Node Package Manager is the same thing as APT to Debian. It is used...
28/12/2020