[Sugar-devel] Sugar version from command line
James Cameron
quozl at laptop.org
Fri Mar 13 14:13:42 EDT 2015
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