Re: how to get kde applications version with commandline

Kevin Krammer <[email protected]> Sun, 17 Apr 2016 13:29:19 +0200
Newsgroups gmane.comp.kde.linux
Organization KDE
Message-ID <5692253.ckI3ZebGkv@persephone>
On Saturday, 2016-04-16, 11:43:06, teppisti-xpla wrote:
> On 09/04/16 12:41, Kevin Krammer wrote:

> > If you need to know the version of an application, then checking that
> > application is likely the best thing to do :-)
> 
> I don't want to know the version of an application :-)

Isn't that the only useful information?

> ..the terms we are using are a little confusing may be :-)
> I want to know the version of "KDE APPLICATIONS" that, as I get, should
> be a container where many applications are in it.
> is there a way to get the version of this container without asking for
> the version of an application that is in it??

Well, different applications can be from different "bundles" or meta packages 
or containers as you say.
The package system probably has a reverse dependency graph that you could 
query.

The closest thing without using the package information is to query the 
version for each program individually and hope that the application version 
and the "container" version are the same.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJXE3OPAAoJEEIZ0uq3FeVulrIP/2Cp/Np3eOqYQyEQgykTyoG+
F8r56ZqcrI/6o61xQXBSHulNpbsuYeMQxvsWJt42rxx09sYjOu/A81Pz3n1IuneL
raDIKJ1zkzsDkFjibwjrc8vNpF2QVdjd0oYBIzcPvjgp/t8DUKEMVAWqoHyUmrrJ
eFjnZnU8W3GWaaxA5/p83wc0/JDlFLRYtVmdnyfFY18b/UJQZbp1FPaC3czD5Plv
U4SGeCZ5HsP1DrnYkrKzxgEb7aGz37hOEEuokJb7Yy0XBS2c2ZghRNY3cK5TTupN
BRUyEcG28eoUq0mfckcUMuV+C7bvV3DRJjLCbkk3V/DnsLDwIVAYkSjIum/MLcuh
YwUheEKFygR3EOb6OzM9Ac+KzqWTBaPb7JKNtYiS1IQu2jLwB3QS1suDeYKOmTmo
/Lr307LLnmxwmCsuqThZxHFiF00/di0fVpzVgFtrJ8AoGOjwrxOjDWqdAwuO5FWG
SLZErf2ORuQFC+AvzmsQ24CJrfcRVt2iQ6rEY4Rytt0m0/S94rKnIRIdeqE8XPiK
p2omOSvr+xNWKKA6Yeeytficd2bAU9aGG80q8buk5CoXWwVpLwn3HR37ZpdDX/1l
AKGDj2Jnw2sm+EgPdj0zSfPLNfACQV0Fw4kgAWXO8c+ONcXHil/QZzV0sV4yDAU4
fIGDyHDZ6bHmcLp1Yl4x
=bwmn
-----END PGP SIGNATURE-----