Installing the SDL2 Libraries Linux Debian The SDL2 libraries can be installed on a Debian based system with the command below. apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev Arch sudo pacman -S sdl2 sdl2_image sdl2_ttf