Solution 1:
dpkg -l | grep sdl
is one possible answer.
Solution 2:
A platform-agnostic solution may be:
sdl2-config --version
dpkg -l | grep sdl
is one possible answer.
A platform-agnostic solution may be:
sdl2-config --version