average_affine: 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/lib/cmtk/bin/average_affine - from package: cmtk

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