I tried to install a Plasma Widget / Plasmoid via Discover, but I got an error message indicating “module “org.kde.kirigami” version 2.20 is not
installed”.
I can see the following from Info Center, but it does not show my version of Kirigami:
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-89-generic (64-bit)
Unfortunately this is kind of a crappy situation. Kirigami is a KDE framework, so its external version number in the form of “5.something”. In your case, since you have Frameworks 5.92, you have Kirigami 5.92 as well.
However Kirigami also has an internal version number, which is where this “2.20” thing comes from. To my knowledge there isn’t a good way to map the external version number to the internal version number. I think Frameworks 5.92 was older than needed for Kirigami 2.20, which would explain your issue.
Thankfully, in Frameworks 6 we did away with the internal version number so only the external version number will matter.
TBH you’d be better off upgrading Kubuntu to 23.10. 22.04 is almost two years old at this point, so the softwate you’re using is all out of support by KDE, and 3rd-party content built for newer versions of KDE software won’t work
Thanks for the explanation, Nate, much appreciated. That explains why I could only find references to Kirigami 5.x in all of my searches but nothing about when version 2.20 came in.
It was actually the following widget that I was trying to install on Kubuntu 22.04:
The notes for it mention various libraries that are needed but not specifically the versions, hence I was trying to get more info before I approached the developer of the widget.
I do have KDE Neon installed as well and the widget works fine under Plasma 5.27, so what you say about Kubuntu 22.04 being too old now makes sense. I guess things move along pretty quickly in the KDE space.
I tend to stick with the LTS release of Kubuntu now as I found the 6 monthly updates too frequent/onerous for me, so I will likely wait until 24.04 comes out next year, hopefully with Plasma 6. I know that I could get an updated Plasma release for Kubuntu 22.04 in the meantime via a backports repository that they have made available, but that does kind of defeat the purpose of using the LTS release.
Anyway, thanks again for the explanation, and for all the great work you all do on KDE. I really am looking forward to Plasma 6.