wm2: 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
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

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/wm2 - from package: wm2

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