If you have installed the command-line version of AlmaLinux 8 and now want to install KDE GUI, then here are steps and commands to follow…
AlmaLinux by default comes with Gnome Desktop GUI, just like the existing CentOS 8 version. Even those who have installed a full Desktop version of this can also install KDE to easily switch between these two whenever they want.
The “KDE Community” is an international team that develops free and open-source software for both desktop PCs and mobile devices. Apart from the various software, the community also offers a desktop environment called KDE Plasma for Linux and UNIX platforms.
Besides, there are hundreds of other KDE programs in many categories such as the Internet, multimedia, entertainment, education, graphics, and software development. KDE software is translated into more than 60 languages and is always designed with ease of use and accessibility in mind. The applications of the KDE community run natively on Linux, BSD, Solaris, Windows, and Mac OS X.
Here we let you know some simple steps to install KDE Plasma on AlmaLinux 8 using the command line. The tutorial can be used for RHEL 8 and CentOS 8.
What do we learn here:
- Command to install KDE Plasma Desktop on AlmaLinux
- How to Switch between Gnome and KDE Desktop?
Steps to install KDE Desktop on AlmaLinux 8
1. Run system update
If you are using the CLI version of the AlmaLinux 8 then you are already on the command line, whereas GUI Desktop users, have to open the Command Terminal application to run the below command:
sudo dnf update
2. Install EPEL Repository on AlmaLinux
KDE environment is not available to install in the default repository of this Linux, thus just like RHEL and CentOS, we have to add EPEL (Extra packages for Enterprise Linux).
sudo dnf install epel-release
3. See the GroupList Packages
List all the packages available to install on Alma Linux in Group List, for that type:
yum group list
4. Install KDE Plasma Workspace on AlmaLinux 8
You will see the available KDE Desktop in the Group list to install and we can use
groupinstall command to get its packages on our system.
sudo yum groupinstall "KDE Plasma Workspaces"
5. Set Target Graphical
If you are on the command-line version of AlmaLinux 8 or CentOS 8, then use the following command to set the system target to graphical.
systemctl set-default graphical or systemctl set-default graphical.target
5. Restart and log in
Once the installation is done, reboot your system to take the changes into effect. Now, the command-line user will see the KDE graphical login screen whereas those who are already using GNOME desktop, need to switch the Desktop environment on login. For that, click on your Username and then select the Gear icon given there, as shown in the below screenshot, and then select the Plasma. After that enter your login password.
Finally, you will have the beautiful interface of the KDE Plasma Graphical Desktop on your AlmaLinux. In this way, you can use GNOME and this one together.
Uninstall KDE from AlmaLinux
In case you want to uninstall it then run:
sudo yum groupremove "KDE Plasma Workspaces"