--- a/debian-apt.rst Fri Feb 18 18:02:24 2011 +0200
+++ b/debian-apt.rst Sat Feb 19 13:56:44 2011 +0200
@@ -47,3 +47,17 @@
$ gpg --export 9AA38DCD55BE302B | sudo apt-key add -
OK
+
+* Install build dependency for package.
+
+ $ apt-get install build-essential # install dev LIBC and GCC C/C++
+ $ sudo apt-get build-dep $package
+
+If all you want is checking what packages are needed to build a given package:
+
+ $ apt-cache showsrc $package
+
+or check 'Build-Depends' attribute in
+
+ $ apt-cache show $package
+