os/linux/ AptPackageManagement
Search for Packages
$ apt-cache search <pattern>
Build Dependencies
$ sudo apt-get build-dep <package>
Get Source
$ apt-get source <package>
Which package provides a file?
The apt-file
utility is useful. Install it with
$ apt-get install apt-file
and then for example
$ apt-file search GL/gl.h