Перейти к содержимому

Как установить kde на debian

  • автор:

Как установить KDE Plasma Desktop в Debian

KDE Plasma — это графическая рабочая среда, созданная компанией KDE для систем Linux. Она основана на фреймворке Plasma и имеет открытый исходный код. Эта современная среда рабочего стола отличается высокой степенью настраиваемости, что делает ее лучшим выбором пользователей. В этом руководстве мы узнаем, как установить KDE Plasma на систему Debian.

Системные требования

Чтобы применить этот учебник к вашей системе, вы должны соответствовать следующим требованиям:

  • Система Debian 10 или Debian 11
  • Пользователь sudo
  • Подключение к интернету
  • Свободное место на диске — 5-10 ГБ

Установка KDE Plasma на Debian

Выполните следующие шаги, чтобы установить KDE Plasma в системе Debian.

Шаг 1: Обновление пакета apt

Сначала обновим пакет apt, откройте окно терминала, затем введите в окне следующую команду:

sudo apt-get update

Вышеупомянутая команда обновит необходимые пакеты вашего сервера Debian.

Шаг 2: Установка Tasksel

Tasksel — это известный инструмент, используемый в платформах Linux, который устанавливает множество взаимосвязанных пакетов. Это простой в использовании способ установки различных пакетов в системы. Здесь мы будем использовать Tasksel для установки KDE Plasma в Debian.

Установка Tasksel

Введите Y с клавиатуры и нажмите клавишу <enter>, чтобы продолжить.

Шаг 3: Установка KDE Plasma

После этого необходимо установить рабочий стол KDE Plasma, используя следующую команду:

Установка KDE Plasma

Здесь необходимо ввести Y для продолжения, когда система запросит подтверждение.

Появится окно выбора режим менеджера дисплеев по умолчанию, выберите его по своему усмотрению.

Выбор менеджера дисплеев

Процесс установки занимает много времени, поэтому убедитесь, что вы остаетесь в окне терминала, если вы выйдете из него, то процесс установки остановится.

Установка завершена

Шаг 4: Перезагрузка системы

Теперь давайте перезагрузим систему, чтобы отразить изменения в вашей системе. Вы можете либо перезагрузить систему с помощью графического интерфейса, либо ввести следующую команду в окне терминала:

Мы используем графический интерфейс для перезагрузки системы. Нажмите на опцию Перезагрузка.

Перезагрузка Debian

Система перезагрузится через несколько секунд.

Шаг 5: Проверка установки

На экране выбора пользователей выберите KDE Plasma, как показано ниже

Выбор интерфейса KDE Plasma

Загрузка интерфейса KDE Plasma будет выглядеть примерно так, как показано ниже:

Загрузка KDE Plasma

После того, как вы получили доступ к системе, давайте проверим установку, проверив установленную версию в вашей компьютерной системе. Перейдите в Настройки, а затем откройте опцию О системе.

System settings

Когда вы нажмете на опцию Информация о системе, вы увидите, что версия KDE Plasma отображается во владыке System Information. Это четкое указание на установленный KDE Plasma.

KDE Plasma version

Таким образом, пользователи могут легко установить KDE Plasma на свои системы Debian.

Заключение

В этом руководстве мы подробно рассмотрели метод установки KDE Plasma на систему Debian. Рассмотренный метод прост в исполнении, и после выполнения этих шагов рабочий стол Plasma будет доступен после перезагрузки. Пользователи также могут проверить установку KDE, как показано в этой статье.

Как установить KDE Plasma на Debian 11

В этом руководстве мы покажем вам, как установить KDE Plasma на Debian 11. Для тех из вас, кто не знал, KDE Plasma — одна из самых популярных сред рабочего стола, доступных для пользователей рабочего стола Linux. KDE посвящает себя созданию бесплатного и удобного взаимодействия с компьютером, предлагая расширенный графический рабочий стол и широкий спектр приложений для развлечений, обучения, общения и т. Д.

В этой статье предполагается, что у вас есть хотя бы базовые знания Linux, вы знаете, как использовать оболочку, и, что наиболее важно, вы размещаете свой сайт на собственном VPS. Установка довольно проста и предполагает, что вы работаете с учетной записью root, в противном случае вам может потребоваться добавить ‘ sudo ‘ к командам для получения привилегий root. Я покажу вам пошаговую установку KDE Plasma Desktop Environment на Debian 11 (Bullseye).

Установите KDE Plasma на Debian 11 Bullseye

Шаг 1. Перед установкой любого программного обеспечения важно убедиться, что ваша система обновлена, выполнив следующие apt команды в терминале:

Шаг 2. Установка KDE Plasma на Debian 11.

  • Установите KDE Plasma с помощью APT.

Просто веселое видео для отвлечения и расслабления в течение 2 минут

По умолчанию KDE Plasma доступна в базовом репозитории Debian 11. Теперь выполните следующее, чтобы установить среду рабочего стола KDE Plasma Desktop Environment в системе Debian:

  • Установите KDE Plasma с помощью Tasksel.

Сначала установите Taskel в свою систему Debian 11:

Затем запустите его на своем терминале, используя команду:

Теперь мы перемещаемся с помощью клавиш со стрелками и выбираем плазму KDE с помощью клавиши пробела, как показано:

Как установить KDE Plasma на Debian 11

После завершения установки KDE перезагрузите систему, чтобы изменения вступили в силу. На экране входа в систему выберите KDE Plasma в качестве среды рабочего стола и войдите в систему. Теперь в вашей системе Debian есть среда рабочего стола KDE.

Поздравляю! Вы успешно установили KDE Plasma . Благодарим за использование этого руководства для установки последней версии KDE Plasma Desktop Environment на Debian 11 Bullseye. Для получения дополнительной помощи или полезной информации мы рекомендуем вам посетить официальный веб-сайт KDE Plasma .

Install a minimal KDE on Debian 10 “buster”

If you select the KDE desktop environment, while installing Debian, the installer installs several extra desktop applications. Kmail, Knotes, Korganizer, Kaddressbook, to name just a few. Not all KDE users are interested in these extra desktop applications. However, when attempting to remove them, Debian removes the entire KDE. Luckily, a method exists to install just a minimal version of KDE in Debian. Grab yourself a drink and read on to find out how you can install a minimal KDE on Debian.

Background

When I first got started with Linux, I did a fair amount of distro-hopping before finally settling on Debian. The one thing I haven’t really settled on, is my preferred desktop environment. Most of the time I use either XFCE or Gnome. Recently, I got this itch to give KDE a try again.

After installing Debian with KDE and logging in for the first time, I noticed a lot of extra desktop applications that I have no need for. Take Kmail for example. I expect that Kmail is a great e-mail client, but I personally prefer Thunderbird. No big deal, right? Just remove Kmail and install Thunderbird. Wrong! Look what happens when you attempt to remove Kmail:

Screenshot that shows what happens if you attempt to uninstall one of the KDE specific desktop applications such as Kmail. In you installed KDE Plasma the usual way, the APT package manager will unfortunately uninstall the entire KDE Plasma. The solution to this is to install just a minimal version of KDE in Debian. The remainder of this article explains how this is done.

A bit of a big screenshot. The gist of it: the Debian package manager intends to remove the entire KDE desktop environment. With other words, you cannot just remove individual KDE software applications. I figured another way must exist, to install just a minimal version of KDE on Debian. So without installing all these other KDE software applications. Luckily, this is possible. This article explains step-by-step how to install such a minimal version of KDE on Debian.

The wrong way to install a minimal KDE in Debian

When you plan on installing the KDE desktop environment, you typically select KDE Plasma during the Debian installation:

Screenshot of the software selection page of the Debian installer. It shows how you would typically select the KDE Plase desktop environment for installation. Note though that this is the wrong way if you intend to install just a minimal version of KDE in Debian.

This essentially means that package kde-standard gets installed. Once the installer completes and you login to your shiny new KDE desktop, you’ll notice the presence of the following extra KDE specific desktop applications:

  • Akregator – RSS/Atom feed aggregator
  • Ark – archive utility
  • Dragonplayer – simple video player
  • Gwenview – image viewer
  • Juk – music player
  • Kaddressbook – address book
  • Kate – powerful text editor
  • Kcalc – calculator
  • Kde-spectacle – screenshot capture utility
  • Kmail – email client
  • Knotes – sticky notes
  • Kopete – instant messaging
  • Korganizer – calender and personal organizer
  • Okular – univeral document viewer
  • Skanlite – image scanner

All great desktop applications, just all KDE and Qt specific. For that reason not everyone wants these on their Linux system. They might be used to their Gnome and GTK3 based counterparts. However, when you attempt to remove the KDE specific desktop applications, Debian will remove the entire KDE desktop environment. So definitely not the way to go.

This means that if you plan to install the KDE desktop environment in Debian, but you do not want all of the above listed desktop applications, do NOT select KDE Plasma during the installation. Instead, follow the procedure outlined in the remainder of this article.

The right way to install a minimal KDE in Debian

Download the Debian network installation ISO

To install a minimal version of KDE in Debian, it suffices to install from the small network installation ISO. Go ahead and download the 64-bit PC netinst.iso image from the Debian website:

Browser screenshot that shows how to download the small network installation ISO from the Debian website.

Once downloaded, create a bootable USB stick with this installation image, for example with Rufus. When installing Debian with a minimal KDE in a VirtualBox virtual machine, connect the ISO file to the emulated optical drive instead.

Start up the Debian installer

Boot your system from the installation image as you would normally do to install Debian. This starts up the Debian installer. Continue with the installer as you normally would, but pause the moment you get to the Software selection page.

Tip: disable the root account

On a side note, here’s a little tip that not everyone realizes: if you do not enter a root password, the Debian installer disables the root account for you and automatically adds your newly created user to the sudo group. This is highly recommended from a security perspective:

Screenshot of the Debian installer emphasizing that if you do not enter a root password, the root account will be disabled for you. Additionally, your newly created user will automatically be added to the sudo group. Highly recommended from a security perspective.

Do not select KDE Plasma

The trick to install a minimal version of KDE in Debian is to NOT select KDE Plasma during the installation on the Software selection page:

Screenshot of the software selection page in the Debian installer. It highlights that you should not select KDE Plasma, in order to install a minimal version of KDE in Debian. KDE itself will be installed manually instead, after the first boot.

Besides not selecting KDE Plasma on the software selection screen, complete the Debian installation as usual. Once the installation completes, boot your Debian system for the first time. You won’t see a fancy graphical login screen, just a simple terminal login:

Screenshot of what Debian looks like after the first boot, when no graphical desktop environment is installed. It presents you with a terminal login prompt.

Manually install a minimal KDE in Debian

Login into your system from the terminal and run the following command to manually install a minimal version of KDE in Debian:

sudo apt -y install kde-plasma-desktop plasma-nm

Screenshot of how to manually install the minimal version of KDE in Debian. All that is really needed are the packages kde-plasma-desktop and plasma-nm.

Once the installation completes, issue a system reboot with command:

After the reboot and logging in, Debian presents you with your freshly installed KDE desktop environment:

Screenshot of logging into Debian for the first time after the manual installation of KDE Plasma.

When installing a minimal KDE version like this in Debian, only the following default KDE applications are available:

  • Dolphin – file manager
  • Kfind – file search utility
  • Konsole – terminal program
  • Kwrite – basic text editor
  • Konqueror – web browser

Install additional KDE desktop applications

After installing the minimal version of KDE in Debian, you are of course free to still install some of the other KDE specific desktop applications. The added benefit of this approach is that you can now actually remove them as well at a later point, without risking the entire KDE desktop environment being uninstalled.

As a personal example, I prefer installing the following KDE specific desktop applications: Ark, Kate, Kcalc, Kde-spectacle, and Okular. The command for this:

sudo apt -y install ark kate kcalc kde-spectacle okular

Screenshot of installing individual KDE specific desktop applications with apt from the terminal.

Wrap up

Installing the KDE desktop environment in Debian, installs a lot of additional KDE specific desktop applications. If you are like me and not interested in all of these, you’ll probably attempt to simply remove them manually. If you attempt to do so, you are in for a surprise: your entire KDE desktop environment will be removed as well. Not a desirable outcome.

This article presented an alternative solution, where Debian only installs a minimal version of KDE. The trick is to not select KDE Plasma on the Software selection screen of the Debian installer. Once your newly installed Debian version boots up, manually install the packages kde-plasma-desktop plasma-nm from the terminal and reboot. You now have a minimal version of KDE on your freshly installed Debian system.

Of course you can still install some of the extra KDE specific desktop applications, as presented in the last section of this article. Added benefit is that you can afterwards actually remove them, without the unwanted side effect of your entire KDE desktop environment being uninstalled.

I hope you found this article an interesting read. Feel free to contact PragmaticLinux for other topics you would like to see covered in the future.

How to Install KDE Plasma on Debian 11 Bullseye

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 with an alternative graphical interface to customize their desktop environment and applications for everyday use enhancement.

In Debian‘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 Debian 11 Bullseye Desktop.

Prerequisites

  • Recommended OS:Debian 11 Bullseye.
  • User account: A user account with sudo or root access.

Update Operating System

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

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

To verify sudo status on your account:

Example output showing sudo status:

To set up an existing or new sudo account, visit our tutorial on Adding a User to Sudoers on Debian.

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

The tutorial will utilize the terminal for the installation found in Activities > Show Applications > Terminal.

How to Install KDE Plasma Desktop Environment on Debian 11 Bullseye

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 challenging and will lead to system instabilities, and there are typically always remnant applications to remove, among other things.

Unless you have minimal system resources, having multiple desktop environments won’t hinder your system. Often people have several and switch between, and it is advised to keep all the alternative desktop environments you install or reformat your system altogether.

Do not install the following desktop environment on your Debian desktop if this sounds too difficult or risky.

Install KDE Plasma on Debian

Begin the installation of KDE by using the following in your terminal.

How to Install KDE Plasma Desktop Environment on Debian 11 Bullseye

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

The desktop environment installation may take a while as it requires downloading close to 700MB of data and requires an additional 2.4GB of space after installation.

During the installation, you will see the “Configuring sddm.” KDE Plasma is recommended to run on using sddm. To proceed, press the TAB KEY to select <Ok> and hit the ENTER KEY.

How to Install KDE Plasma Desktop Environment on Debian 11 Bullseye

Next, press the TAB KEY to select <sddm> and then press the TAB KEY again to select <Ok> and press the ENTER KEY to proceed and complete the installation.

How to Install KDE Plasma Desktop Environment on Debian 11 Bullseye

Once complete, reboot your system, which can be done by typing the following directly into your terminal.

First Look & Verifying KDE Plasma

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, which is now located in the top right-hand corner.

Next, select “Plasma” instead of the default “GNOME (Wayland).”

Example (Click Image Expand):

select plasma environment on debian 11 bullseye login screen

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 (Click Image Expand):

How to Install KDE Plasma on Debian 11 Bullseye

Example Screenlock (Click Image Expand):

How to Install KDE Plasma on Debian 11 Bullseye

Pin How to Install KDE Plasma on Debian 11 Bullseye 9

To confirm the installation, a handy package to install is Neofetch which is featured in Debian’s repositories.

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

Once installed, run the following command in your terminal.

Example output (Click Image Expand):

How to Install KDE Plasma on Debian 11 Bullseye

And that is it, and you have successfully installed the KDE Plasma desktop environment.

How to Update KDE Plasma Packages

Run the standard apt update && upgrade commands for future updates for the KDE Plasma desktop environment and any default APT packages.

When updates are available, run the standard upgrade command as you would with any other apt package.

Switching Default Display Managers

In the future, if you want to change the default display manager back to LightDM to use Cinnamon or even GDM for GNOME and so on from the KDE and SDDM display manager.

Open your terminal, then re-run the pop-up to configure the default display manager using the following command.

Make sure to reboot if you are switching Display Managers and Desktop Environments.

Comments and Conclusion

In the tutorial, you have successfully learned how to install KDE Plasma Desktop Environment on Debian 11 Bullseye. 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.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *