apt-file to search for the package providing a file in ubuntu
I found the tool apt-file on the ubuntu forums today.
sudo apt-get install apt-file
sudo apt-file update
Then you can use
apt-file search "GL/gl.h"
or something similar, and you will get a list of all the packages that provide that particular file. This is very useful.
Labels: linux ubuntu shell scripting apt