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 install LibreOffice 5.3.3 Office Suite on Ubuntu & Linux Mint

LibreOffice 5.3.3 recently released, is the latest fresh version of LibreOffice 5.3 series which was released in early February. It...
28/12/2020

How to Change Mouse and Touchpad Settings Using Xinput in Linux

Most Linux distributions ship with “libinput” library by default to handle input events on a system. It can process...
29/12/2020

BurpSuite Tutorial for Beginners

BurpSuite is a collection of tools to carry out pen testing or security auditing.  This tutorial focuses on the Community...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Lý do tại sao bạn nên sử dụng proxy khi truy cập web đen
27/02/2023

Các lỗi thường gặp khi sử dụng proxy và cách khắc phục chúng.
27/02/2023

Tác động của việc sử dụng proxy đến tốc độ kết nối internet của bạn.
27/02/2023

Các tiện ích và công cụ để quản lý proxy.
27/02/2023

Các cách để kiểm tra tốc độ và độ ổn định của proxy.
27/02/2023