Ubuntu – How and where to install a headers only library

aptheader-filelibrariesUbuntu

I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. Afaik gource does not allow to configure the location of the library.

Where do I have to put the source files of the library on a Linux system? I could symlink the header file of the library to some system directory which is included in the path but that is not the way one does install libraries, right?

Sources for libglm-dev

Best Answer

If it's avaliable for Ubuntu 11.10 AND it's an header-only library, then you can just download and install manually the package with

cd /tmp
wget http://launchpadlibrarian.net/72511308/libglm-dev_0.9.2.0-2_all.deb
dpkg -i libglm-dev_0.9.2.0-2_all.deb
Related Question