xquery2xmlplan: 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/xquery2xmlplan - from package: galax-extra

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