libglm-dev – C++ library for OpenGL GLSL type-based mathematics

OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.

GLM provides classes and functions designed and implemented with the same naming conventions and functionalities as GLSL, so that when a programmer knows GLSL, he knows GLM as well, which makes it really easy to use.

This project isn’t limited to GLSL features. An extension system, based on the GLSL extension conventions, provides extended capabilities: matrix transformations, quaternions, half-based types, random numbers, et cetera.

This library works perfectly together with OpenGL but it also ensures interoperability with other third party libraries and SDKs. It is a good candidate for software rendering (such as raytracing, rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library.

Package availability chart


Base version

Our version


Debian GNU/Linux 10.0 (buster)

i386, amd64, sparc, armel, ppc64el

Debian GNU/Linux 11.0 (bullseye)

i386, amd64, sparc, armel

Debian GNU/Linux 12.0 (bookworm)

Debian GNU/Linux 9.0 (stretch)

i386, amd64, sparc, armel

Debian testing (trixie)

Debian unstable (sid)

i386, amd64, sparc, armel

Ubuntu 16.04 “Xenial Xerus” (xenial)

Ubuntu 18.04 “Bionic Beaver” (bionic)


i386, amd64, sparc, armel

Ubuntu 20.04 “Focal Fossa” (focal)

Ubuntu 22.04 “Jammy Jellyfish” (jammy)


blog comments powered by Disqus