[Sugar-devel] Sugar version from command line
Gustavo Duarte
gus.duarte at gmail.com
Fri Mar 13 14:20:50 EDT 2015
greats!! James, thanks!
On Fri, Mar 13, 2015 at 3:13 PM, James Cameron <quozl at laptop.org> wrote:
> On Fri, Mar 13, 2015 at 08:17:35AM -0300, Gustavo Duarte wrote:
>> How can I know the Sugar version from command line ?
>
> python -c 'from jarabe import config ; print config.version'
>
> This is coded into Sugar, and may not be the same version as shown by
> any distribution package manager.
>
> To get the package version is distribution specific, but on Fedora it
> is
>
> rpm -q sugar
>
> and on Ubuntu it is
>
> dpkg-query -W --showformat='${Version}\n' python-sugar3
>
> --
> James Cameron
> http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list