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

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