How to see what SDL version I have on my ubuntu

Solution 1:

dpkg -l | grep sdl is one possible answer.

Solution 2:

A platform-agnostic solution may be:

sdl2-config --version