To build a Debian package of SUGAR, you will want to perform the following steps after downloading the source archive:
dpkg-source -x sugar_<version>.dsc
cd sugar-<version>
autoreconf
dpkg-buildpackage -us -uc -rfakeroot
The rest of the build process is automated and will create Debian packages that will be placed above the sugar-<version> directory. You may install these Debian packages using the dpkg -i <packagename> command.
For more information on building Debian packages, please visit the Debian's New Package Maintainers Guide .