Debian 9 Stretch KDE Plasma 5.12: KDE (K Desktop Environment) is a free graphical desktop and software development environment created with platform Qt by Trolltech.
It runs on most Unix and Unix-compatible systems such as Linux, BSD, AIX, Unixware, OpenServer and Solaris. It has also been ported to Mac OS X where it runs over X11 and Microsoft Windows using Cygwin.
Currently, a large percentage of the KDE Core Libraries and some other applications can run natively on Microsoft Windows, thanks to KDElibs/win32 Project. The transport of more KDE applications is under discussion.
The letter "K" originally represented "Kool" (as "C" in "cool" was already used for the acronym Common Desktop Environment), but later changed to "K".
Below we will see how to upgrade your Plasma 5.8 installation to Plasma 5.12 on Debian 9 Stretch.
We will use a script created by Neptune OS developers. The script will automatically install Neptunes Plasma 5.12 for you.
What the script will do:
Initially, it will make a backup to /etc/apt/sources.list and will add the kde-repo distribution to your system.
Then it will continue and automatically run the K Desktop Environment update on Plasma 5.12.
Download the script from the following link:
https://download.neptuneos.com/download/upgrade-58_to_512.sh
Open the folder containing the script and right-click to open a terminal. Please provide them below commands to make the script executable as root.
su
(enter the root password)
chmod + x upgrade-58_to_512.sh
Now you can run the script with the following command:
./upgrade-58_to_512.sh
The installation will begin and end without you being asked to do anything else. After the update you will be prompted to do a reboot.
For those who are afraid below there is the script code:
#! / bin / bash function check_root {if ["$ (id -u)"! = "0"]; then echo "This script must be run as root" 1> & 2 exit 1 fi} function show_welcome {FROM = $ 1 TO = $ 2 clear; echo "Neptune Upgrade Script"; echo "-----------------------------"; echo "This will upgrade $ FROM to $ TO."; echo -e "\ 033 [1mPlease make sure to have a working internet connection, enough free space and a plugged in power cord on your laptop \ 033 [0m"; echo ""; echo "Press any key to continue or CTRL + C to abort"; read FOO echo "Upgrade process starts ..."; } function create_sourceslist_backup {# Create Backup in case anything goes wrong find /etc/apt/sources.list.d/ -exec cp {} {,. bak} \; cp /etc/apt/sources.list{,.bak}} function change_repo_component {OLD = $ 1 NEW = $ 2 REPOLIST = $ 3 if [-n $ OLD] && [-n $ REPOLIST]; then sed -i -e "s / $ OLD / $ NEW /" $ REPOLIST fi} function remove_repo_component {COMP = $ 1 REPOLIST = $ 2 change_repo_component "$ COMP" "" "$ REPOLIST"} function prepare_repos {# Add main repo echo " deb https://download.neptuneos.com/repos/neptune5/repo-kde/ stretch main "> /etc/apt/sources.list.d/neptune.list # Add Neptune gpg key wget https://neptuneos.com /files/NeptuneOS/Files/neptune.gpg.key -O /tmp/neptune.key apt-key add /tmp/neptune.key} function upgrade_packages {# Manual upgrade packages and remove older ones if necessary apt-get update apt- get remove kde-l10n- * apt-get install -y -f apt-transport-https} function update_system {apt-get update apt-get dist-upgrade -y -f -o Dpkg :: Options :: = "- force-confnew "# Make sure everything is consistent apt-get install -y -f -o Dpkg :: Options :: =" - force-confnew "-o Dpkg :: Options :: =" - force-overwrite " # Just to be sure everything is up to date apt-get dist-upgrade -y -f -o Dpkg :: Options :: = "- force-confnew" -o Dpkg :: Options :: = "- force- overwrite "echo" "; echo "Upgrade finished. Please reboot."; _ check_root show_welcome "KDE Plasma 5.8 LTS" "KDE Plasma 5.12 LTS" create_sourceslist_backup upgrade_packages prepare_repos update_system
About KDE from Wikipedia