16 December 2007

Quick Tip: Getting All Your Build-Dependencies

I think most people, when they first start building from source, start off by running ./configure, waiting for the command to fail, figuring out why, installing a build-dependency, and then repeating the process. If you're building a different version of a package that's already in the repositories, though, you can probably (assuming the program hasn't suddenly gone from Python+GTK to C++ and Qt) just run sudo apt-get build-dep <package> and it will install all of the dependencies needed for building that package from scratch.


Spook said...

Once you've got build dependencies for a package, you can pretty easily build newer versions of programs that haven't hit backports yet.

Toriam said...
This comment has been removed by a blog administrator.