How to use deb-src repos

first add them to your source.list file, run apt-get update and.....

"apt-get source foo" to fetch source. "apt-get -b source foo" to fetch and build source "apt-get buld-dep foo" to install the packages necessary to build foo.

(thanks to stew in #debian)