Some questions about packages in Ubuntu.

Michael R. Head burner at
Thu Mar 16 15:11:25 UTC 2006

On Thu, 2006-03-16 at 15:53 +0100, Luca Manganelli wrote:
> On 3/16/06, Michael R. Head <burner at> wrote:
> > > 2) I saw that there are sources repositories. If I want to compile,
> > > i.e., the wget package, how can I do that?
> >
> > sudo apt-get build-dep <packagename>
> > apt-get source <packagename>
> > cd <packagename>-<version>
> > fakeroot dpkg-buildpackage -us -uc
> Thank you, but how can I set compiler parameters (optimization flags)?

You can modify the rules file in the debian directory (it's just a
makefile). This is what dpkg-buildpackage calls to build the actual


Michael R. Head <burner at>
GPG: [0x4C9DA1D0]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list