Get KDE plasma 6 on Arch — the one minute setup
ATM the new version of KDE plasma is not available yet on the extra repository of arch. But it is on the extra/testing repository !
There is a simple step by step explanation on how to move to it.
First, if you want to see all the plasma related package, you can do it with pacman like that :
$ sudo pacman -Qe | grep plasma
eos-plasma-sddm-config 22.03.1.2-1
eos-settings-plasma 1.5-1
kdeplasma-addons 5.27.10-2
plasma-desktop 5.27.10-1
plasma-disks 5.27.10-1
plasma-nm 5.27.10-1
plasma-pa 5.27.10-1
plasma-systemmonitor 5.27.10-1
Then you have two options : a rapid one and a more complex one.
The rapid option is very simple, you just move from extra to extra/testing.
The more complex one is the same, but you set a couple more of parameter in the pacman configuration file for updating only the package you want. The downside is that you have to enter the full list of package you want to move from extra to extra/testing.
The rapid option
We open the pacman configuration file :
nvim /etc/pacman.conf
And we need to seek for the repository section, it looks like that :
Here you can see that the extra-testing part is commented. So we just need to remove the # part and uncomment it.
There you should have something like that :
[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist
#[core-testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra-testing]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
So, after that, we need to sync all that :
pacman -Syu
And after some question, for example for moving baloo to testing, hit a reboot and voilà ! You have plasma 6.
The more complex option
If you want to pick, by hand, all the package you want to move you have to add a little extra line to your pacman.conf file :
[extra-testing]
Include = /etc/pacman.d/mirrorlist
Usage = Sync Search
Here, the usage parameter gives us the possibility to be specific when we want to install something from the extra/testing repository !
And all the other packages keep working with the extra repository (for example when you do a pacman -Syu) 🙂
Then next you can sync :
pacman -Sy
After that, you have to pick all the package you want to move. A quick way to check the list is to initiate a sync with the list of package we have found with pacman -Qe :
And next rerun your pacman -Syu with all the package name.
— — — — — —
Then enjoy your brand-new plasma 6 🥳
How to go back when the release is out on extra ?
You just have to remove the following line to your pacman.conf file :
[extra-testing]
Include = /etc/pacman.d/mirrorlist
Usage = Sync Search
and do a pacman -Syu, reboot and done !