sdl2-config: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/sdl2-config - from package: libsdl2-dev

You may install the required package with command apt-get install {package}
Error in other languages:
sdl2-config: bevel nie gevind nie
sdl2-config: comandă negăsită
sdl2-config: comando não encontrado
sdl2-config: commande introuvable
sdl2-config: command not found
sdl2-config: käsku ei ole
sdl2-config: không tìm thấy lệnh
sdl2-config: komanda nerasta
sdl2-config: Kommando nicht gefunden.
sdl2-config: kommandot finns inte
sdl2-config: komut yok
sdl2-config: nie znaleziono polecenia
sdl2-config: níor aimsíodh an t-ordú
sdl2-config: no se encontró la orden
sdl2-config: no s'ha trobat l'ordre
sdl2-config: opdracht niet gevonden
sdl2-config: parancs nem található
sdl2-config: perintah tidak ditemukan
sdl2-config: príkaz nenájdený
sdl2-config: příkaz nenalezen
sdl2-config: команда не найдена
sdl2-config: командата не е открита
sdl2-config: 命令找不到
sdl2-config: コマンドが見つかりません